Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#58210 closed defect (bug) (duplicate)

Buttons within media-sidebar compat-item form do not load on first open

Reported by: jonsi79's profile jonsi79 Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.2
Component: Media Keywords: 2nd-opinion
Focuses: Cc:

Description

A number of media plugins (e.g. Regenerate Thumbnails, Crop Thumbnails) add buttons to the media sidebar and edit image modal inside the 'compat-item' form.

While this relates to plugins, it seems clear to be a core issue rather than a plugin issue (or at least involves a change that plugins need to adapt to).

Since updating to 6.2 these buttons no longer appear on first load. Only when you close the media window and then click on the thumbnail again to reopen the media window do these contextual buttons appear.

Have tested with exact same set-up but using core 6.1.1 and the issue is not there.

Attachments (2)

WP_Media_Bug__initial_load.png (119.1 KB) - added by jonsi79 2 years ago.
Initial opening of media, with compat-items empty
WP_Media_Bug__2nd_load.png (119.0 KB) - added by jonsi79 2 years ago.
Re-opening of media, with compat-items available

Download all attachments as: .zip

Change History (4)

@jonsi79
2 years ago

Initial opening of media, with compat-items empty

@jonsi79
2 years ago

Re-opening of media, with compat-items available

#1 @joedolson
2 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #58051.

#2 @joedolson
2 years ago

  • Keywords needs-patch removed

Thanks for reporting! This appears to be a duplicate of #58051, already fixed in trunk and slated for 6.2.1. If you can verify that this is fixed in the current alpha of trunk, that would be great - if not, feel free to reopen with any additional details!

Note: See TracTickets for help on using tickets.
OSZAR »