[wp-trac] [WordPress Trac] #22744: Media search doesn't include file name
WordPress Trac
noreply at wordpress.org
Sun Sep 25 14:41:28 UTC 2016
#22744: Media search doesn't include file name
--------------------------------------+-----------------------------
Reporter: johnbillion | Owner: joemcgill
Type: enhancement | Status: reopened
Priority: normal | Milestone: 4.7
Component: Media | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: administration
--------------------------------------+-----------------------------
Comment (by kylegilman):
@flixos90 I second that. I was having a problem with a meta_query in the
media library and I tracked it back to
`_filter_query_attachment_filenames()`. Any meta_query in the media
library using `NOT EXISTS` for `compare` leads to an empty result. With
`_filter_query_attachment_filenames()` disabled everything works fine.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/22744#comment:50>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list