[wp-trac] [WordPress Trac] #22744: Media search doesn't include file name
WordPress Trac
noreply at wordpress.org
Tue Sep 20 01:44:08 UTC 2016
#22744: Media search doesn't include file name
---------------------------------------------+-----------------------------
Reporter: johnbillion | Owner: joemcgill
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.7
Component: Media | Version: 3.0
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses: administration
---------------------------------------------+-----------------------------
Changes (by joemcgill):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"38625"]:
{{{
#!CommitTicketReference repository="" revision="38625"
Media: Make media library searchable by filename.
This applies a new private function,
`_filter_query_attachment_filenames()`,
to the `post_clauses` filter hook during `wp_ajax_query_attachments()` and
`wp_edit_attachments_query_vars()` to include `_wp_attached_file` post
meta
in search queries performed from the media library or in a
`WP_Media_List_Table`.
Props wonderboymusic, DrewAPicture, joemcgill, swissspidy.
Fixes #22744.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/22744#comment:46>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list