[wp-trac] [WordPress Trac] #22744: Media search doesn't include file name

WordPress Trac noreply at wordpress.org
Fri Sep 9 14:31:42 UTC 2016


#22744: Media search doesn't include file name
-------------------------------------------------+-------------------------
 Reporter:  johnbillion                          |       Owner:  joemcgill
     Type:  enhancement                          |      Status:  accepted
 Priority:  normal                               |   Milestone:  4.7
Component:  Media                                |     Version:  3.0
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing has-unit-    |     Focuses:
  tests                                          |  administration
-------------------------------------------------+-------------------------
Changes (by joemcgill):

 * owner:  wonderboymusic => joemcgill
 * status:  reviewing => accepted


Comment:

 After our discussion in core dev chat this week, the consensus seems to be
 that we should only apply this in the media library (both in the modal and
 in the media library in list view via `WP_Media_List_Table`.

 [attachment:22744.10.diff] updates the tests after the changes suggested
 in [attachment:22744.9.diff]. Since this behavior is applied via placement
 of a filter, they're really more like a set of reduced case integration
 tests that  ensure `WP_Query` is including filenames when applied, and not
 when the filter is not applied.

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


More information about the wp-trac mailing list