[wp-trac] [WordPress Trac] #39004: Alt attributes should be searchable in media library

WordPress Trac noreply at wordpress.org
Thu Dec 22 15:58:28 UTC 2016


#39004: Alt attributes should be searchable in media library
-------------------------------------+-------------------------------------
 Reporter:  joedolson                |       Owner:  joedolson
     Type:  enhancement              |      Status:  accepted
 Priority:  normal                   |   Milestone:  4.8
Component:  Media                    |     Version:  3.0
 Severity:  normal                   |  Resolution:
 Keywords:  needs-testing needs-     |     Focuses:  accessibility,
  unit-tests                         |  administration
-------------------------------------+-------------------------------------
Changes (by joemcgill):

 * keywords:  dev-feedback needs-testing 2nd-opinion needs-unit-tests =>
     needs-testing needs-unit-tests


Comment:

 '''Related: #39358.''' We'll need to be aware of query performance
 concerns introduced in [38625] / #22744 before finalizing the approach
 here.

 Setting aside performance concerns for the moment,
 [attachment:39004.2.patch] looks like a good initial approach. Thanks
 @rommelxcastro.  We may need to handle some backwards compatibility for
 anyone who has decided to do something like: `remove_filter(
 'posts_clauses', '_filter_query_attachment_filenames' );` or if someone is
 calling that function directly to apply the filter to other query cases.

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


More information about the wp-trac mailing list