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

WordPress Trac noreply at wordpress.org
Thu Sep 15 14:00:33 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
-------------------------------------------------+-------------------------

Comment (by swissspidy):

 I couldn't find a really large site to test this on, but it works well on
 regular / medium-sized sites.

 Regarding the patch, some notes:

 * `@since 4.7.0` instead of `@since 4.7`
 * Doc block for `test_include_file_names_in_attachment_search_as_string()`
 needs to be fixed.
 * Every added filter in the tests should be removed again after the query,
 just to be on the safe side.

 After fixing that, let's ship it!

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


More information about the wp-trac mailing list