[wp-trac] [WordPress Trac] #64948: Media Modal: Can no longer set attachment filters

WordPress Trac noreply at wordpress.org
Thu May 7 21:35:55 UTC 2026


#64948: Media Modal: Can no longer set attachment filters
------------------------------+-------------------------
 Reporter:  Bernhard Reiter   |       Owner:  joedolson
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  7.0
Component:  Media             |     Version:  trunk
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  javascript
------------------------------+-------------------------
Changes (by joedolson):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"62326" 62326]:
 {{{
 #!CommitTicketReference repository="" revision="62326"
 Media: Restore usage of attachment filters in media modal.

 [61757] wrapped the media attachment filters, which changed the return
 value of toolbar filters from `AttachmentFilters` to a `wp.media.View`
 instance, breaking the API to customize media library filters.

 Reverts the shape change in the attachment filter return value and
 implements CSS based positioning for the visible labels.

 Props bernhard-reiter, joedolson, ozgursar, audrasjb, darshitrajyaguru97,
 jorbin.
 Fixes #64948.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64948#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list