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

WordPress Trac noreply at wordpress.org
Thu May 7 21:41:32 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 dev-reviewed        |     Focuses:  javascript
  fixed-major                                    |
-------------------------------------------------+-------------------------
Changes (by joedolson):

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


Comment:

 In [changeset:"62327" 62327]:
 {{{
 #!CommitTicketReference repository="" revision="62327"
 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.

 Reviewed by jorbin.
 Merges [62326] to the 7.0 branch.

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

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


More information about the wp-trac mailing list