Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #39358, comment 3


Ignore:
Timestamp:
12/21/2016 04:28:13 PM (7 years ago)
Author:
joemcgill
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #39358, comment 3

    initial v1  
    11Hi @merts,
    22
    3 Welcome to Trac. As @swissspidy noted, this change was an intentional one in order to allow people to search for media in the media library by file name. I noted performance concerns in comments on #22744, which is partially why this change was applied narrowly to only times when attachments are being search specifically. Adding this change as a filter also gives sites the ability to disable this change by removing the filter after it has been added.
     3Welcome to Trac. As @swissspidy noted, this change was an intentional one in order to allow people to search for media in the media library by file name. I noted performance concerns in comments on #22744, which is partially why this change was applied narrowly to only times when someone is searching attachments. Adding this change as a filter also gives sites the ability to disable this change by removing the filter after it has been added.
    44
    55Here's one approach to disabling the filter if you so choose: