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

WordPress Trac noreply at wordpress.org
Mon Sep 5 17:13:24 UTC 2016


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

Comment (by swissspidy):

 Thanks for the updated patch & tests! I'd probably split
 `test_s_should_include_file_names_in_attachment_searces` into 2 tests to
 have 1 assertion per test method.

 The increase in main query time is a good argument against adding this to
 the front-end as well. Not to mention that visitors likely don't know or
 care about file names anyway.

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


More information about the wp-trac mailing list