Go to file
Joe McGill 4da705a7db 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@38625 602fd350-edb4-49c9-b593-d223f7449a82
2016-09-20 01:44:07 +00:00
src Media: Make media library searchable by filename. 2016-09-20 01:44:07 +00:00
tests Media: Make media library searchable by filename. 2016-09-20 01:44:07 +00:00
tools/i18n DOCS: Replace HTTP links with HTTPS. 2016-06-10 04:49:09 +00:00
.editorconfig
.gitignore Revert [38401] after [38480]. 2016-09-06 18:12:09 +00:00
.jshintrc
.travis.yml Build/Test Tools: Ensure PHP 7.1 is tested on Travis. 2016-08-17 20:45:07 +00:00
Gruntfile.js OEmbed: add unit tests. `@group external-oembed` is not run by default. 2016-08-30 18:54:53 +00:00
package.json Trunk is now 4.7-alpha. 2016-08-02 13:44:37 +00:00
phpunit.xml.dist OEmbed: add unit tests. `@group external-oembed` is not run by default. 2016-08-30 18:54:53 +00:00
wp-cli.yml Remove debug mode from WP-CLI by default, as it now outputs too much debugging information to be of use during normal development. 2015-11-28 18:36:06 +00:00
wp-config-sample.php
wp-tests-config-sample.php Unit Tests: Correct comment in `wp-tests-config-sample.php`. 2016-01-21 20:24:12 +00:00