WordPress/wp-admin
James Nylen 505e135f4c REST API: Add support for filename search in media endpoint.
In [38625], the functionality to search for attachments by filename was added
via the `posts_clauses` filter and the `_filter_query_attachment_filenames()`
function.  This moves `_filter_query_attachment_filenames()` from
`wp-admin/includes/post.php` to `wp-includes/post.php` so that it can be
applied in the same manner in the REST API media endpoint.

Props jblz, tyxla.
Fixes #39092.

Built from https://develop.svn.wordpress.org/trunk@39598


git-svn-id: http://core.svn.wordpress.org/trunk@39538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-13 14:09:42 +00:00
..
css Customize: Collapse available nav menu items panel when clicking outside over preview or over existing items. 2016-12-09 06:16:40 +00:00
images Customize: Add a RTL version of "browser.png" for the site icon preview. 2016-07-05 11:32:29 +00:00
includes REST API: Add support for filename search in media endpoint. 2016-12-13 14:09:42 +00:00
js Themes: Add missing square bracket in jQuery selector. 2016-12-12 09:32:41 +00:00
maint I18N: Make the translator comment added in [37858] more explicit and consistent with other similar instances. 2016-07-04 13:10:30 +00:00
network Accessibility: Remove inappropriate content from the Network screens headings. 2016-12-09 18:57:42 +00:00
user Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +00:00
about.php About page: Update video and REST API reference URLs. 2016-12-06 18:24:41 +00:00
admin-ajax.php TinyMCE, inline link: 2016-07-26 23:24:28 +00:00
admin-footer.php Hooks: Standardize naming of dynamic hooks to use interpolation vs concatenation. 2016-08-22 18:25:31 +00:00
admin-functions.php Docs: Use 3-digit, x.x.x-style semantic versioning for _doing_it_wrong(), _deprecated_function(), _deprecated_argument(), and _deprecated_file() throughout core. 2016-07-06 12:40:29 +00:00
admin-header.php I18n: Introduce more translator comments for strings that contain placeholders but don't have an accompanying translator comment. 2016-11-21 02:46:30 +00:00
admin-post.php Spelling: Standardize on "front end"/"back end" (noun) and "front-end"/"back-end" (adjective). 2016-02-25 12:53:27 +00:00
admin.php Hooks: Standardize naming of dynamic hooks to use interpolation vs concatenation. 2016-08-22 18:25:31 +00:00
async-upload.php Text Changes: Unify permission error messages. 2016-06-29 15:16:29 +00:00
comment.php Accessibility: Remove target=_blank from the comment/edit-comments help tabs links. 2016-10-04 06:54:30 +00:00
credits.php About page: Add strings for 4.7 and make available for translation. 2016-12-02 06:31:43 +00:00
custom-background.php Customize: Improve custom background properties UI. 2016-10-26 06:52:29 +00:00
custom-header.php Themes: Improve support for placeholders in default headers. 2016-11-04 17:10:01 +00:00
customize.php Customize: Remove root panel description text which notes that edit shortcuts can be toggled by clicking anywhere in the preview. 2016-11-14 04:33:32 +00:00
edit-comments.php Accessibility: Remove inappropriate content from the Edit Comments screen heading. 2016-12-09 18:59:40 +00:00
edit-form-advanced.php Multisite: Remove redundant is_super_admin() when checking for edit_others_posts. 2016-12-07 22:09:42 +00:00
edit-form-comment.php Accessibility: Standardize the remove/delete/cancel links in the Menus screen and Publish meta boxes. 2016-09-17 15:39:30 +00:00
edit-link-form.php Accessibility: Remove inappropriate content from the Link Manager screens headings. 2016-12-07 20:18:46 +00:00
edit-tag-form.php Taxonomy: On wp-admin/term.php, don't show a 'Back to' link which links to the current page. 2016-10-07 20:13:28 +00:00
edit-tags.php Accessibility: Remove inappropriate content from the Edit Categories and Edit Tags screens headings. 2016-12-09 20:50:41 +00:00
edit.php Accessibility: Remove inappropriate content from the Posts and Edit screens headings. 2016-10-27 20:39:39 +00:00
export.php Accessibility: Remove target=_blank from the help tab links on several admin screens. 2016-10-04 20:27:33 +00:00
freedoms.php About page: Restore the double % in a printf() call which has been removed in [39420]. 2016-12-02 12:03:45 +00:00
import.php Accessibility: Remove target=_blank from the help tab links on several admin screens. 2016-10-04 20:27:33 +00:00
index.php Drop the requirement for the entry points to WordPress to be parsable by PHP4. 2016-10-25 03:15:30 +00:00
install-helper.php Docs: Add missing descriptions for the $wpdb global in DocBlocks all the places. 2015-10-14 23:44:25 +00:00
install.php I18n: Begin introducing translator comments for strings which include placeholders but no accompanying translator comment. 2016-11-21 01:22:32 +00:00
link-add.php Text Changes: Unify permission error messages. 2016-06-29 15:16:29 +00:00
link-manager.php Accessibility: Remove inappropriate content from the Link Manager screens headings. 2016-12-07 20:18:46 +00:00
link-parse-opml.php General: Check to see that the PHP-XML module is enabled before using XML functions. 2016-10-24 04:45:31 +00:00
link.php Docs: Standardize capitalization of Ajax throughout core documentation per the core spelling guide. 2016-07-10 00:51:30 +00:00
load-scripts.php Bootstrap: do not go gentle into that good night r38411, r38412, and parts of r38389. 2016-08-31 16:31:29 +00:00
load-styles.php Bootstrap: do not go gentle into that good night r38411, r38412, and parts of r38389. 2016-08-31 16:31:29 +00:00
media-new.php Accessibility: Remove target=_blank from the help tab links on several admin screens. 2016-10-04 20:27:33 +00:00
media-upload.php Hooks: Standardize naming of dynamic hooks to use interpolation vs concatenation. 2016-08-22 18:25:31 +00:00
media.php Accessibility: Remove inappropriate content from the old Edit Media screen heading. 2016-12-07 23:30:40 +00:00
menu-header.php Administration: Ensure collapse menu is usable with a keyboard 2016-11-04 17:18:57 +00:00
menu.php Multisite: Replace is_super_admin() with update_core for update permissions. 2016-12-07 22:14:42 +00:00
moderation.php
ms-admin.php
ms-delete-site.php I18N: Introduce a locale-switching function. 2016-10-26 15:36:31 +00:00
ms-edit.php
ms-options.php
ms-sites.php
ms-themes.php
ms-upgrade-network.php
ms-users.php
my-sites.php Accessibility: Remove inappropriate content from the Network screens headings. 2016-12-09 18:57:42 +00:00
nav-menus.php Accessibility: Remove inappropriate content from the Menus screen heading. 2016-12-07 23:47:43 +00:00
network.php Accessibility: Remove target=_blank from the help tab links in network.php. 2016-10-30 15:19:37 +00:00
options-discussion.php I18n: Begin introducing translator comments for strings which include placeholders but no accompanying translator comment. 2016-11-21 01:22:32 +00:00
options-general.php I18N: Show available timezones in the user's locale on the settings screen. 2016-11-01 09:16:31 +00:00
options-head.php Docs: Standardize on 'backward compatibility/compatible' nomenclature in core inline docs. 2016-05-13 18:41:31 +00:00
options-media.php Accessibility: Remove target=_blank from the Settings screens help tabs links. 2016-10-04 06:59:29 +00:00
options-permalink.php Accessibility: Remove target=_blank from the Settings screens help tabs links. 2016-10-04 06:59:29 +00:00
options-reading.php Accessibility: Remove target=_blank from the Settings screens help tabs links. 2016-10-04 06:59:29 +00:00
options-writing.php Accessibility: Remove target=_blank from the Settings screens help tabs links. 2016-10-04 06:59:29 +00:00
options.php Text Changes: Merge and clarify some permission error strings in the admin. 2016-11-19 01:38:31 +00:00
plugin-editor.php Plugins: Correctly display the current plugin in the plugin editor. 2016-10-07 16:58:28 +00:00
plugin-install.php Accessibility: Remove inappropriate content from the Add Plugins screen heading. 2016-12-07 19:06:41 +00:00
plugins.php Accessibility: Remove inappropriate content from the Plugins screen heading. 2016-12-07 18:48:40 +00:00
post-new.php I18N: Combine two duplicate "Invalid post type" strings. 2016-07-17 16:05:31 +00:00
post.php Text Changes: Unify permission error messages. 2016-06-29 15:16:29 +00:00
press-this.php Bootstrap: do not go gentle into that good night r38411, r38412, and parts of r38389. 2016-08-31 16:31:29 +00:00
profile.php
revision.php I18n: Begin introducing translator comments for strings which include placeholders but no accompanying translator comment. 2016-11-21 01:22:32 +00:00
setup-config.php Drop the requirement for the entry points to WordPress to be parsable by PHP4. 2016-10-25 03:15:30 +00:00
term.php Taxonomy: Introduce more fine grained capabilities for managing taxonomy terms. 2016-09-30 22:40:28 +00:00
theme-editor.php Accessibility: Remove target=_blank from the Plugins, Themes, Media, Update, and Tools screens help tabs links. 2016-10-04 07:08:29 +00:00
theme-install.php Accessibility: Remove inappropriate content from the Add Themes screen heading. 2016-12-06 22:24:41 +00:00
themes.php Accessibility: Remove inappropriate content from the Themes screen heading. 2016-12-06 23:12:41 +00:00
tools.php Accessibility: Remove target=_blank from the Plugins, Themes, Media, Update, and Tools screens help tabs links. 2016-10-04 07:08:29 +00:00
update-core.php Remove an erroneous @TODO introduced in [39323]. 2016-11-21 01:26:30 +00:00
update.php Bootstrap: do not go gentle into that good night r38411, r38412, and parts of r38389. 2016-08-31 16:31:29 +00:00
upgrade-functions.php Docs: Use 3-digit, x.x.x-style semantic versioning for _doing_it_wrong(), _deprecated_function(), _deprecated_argument(), and _deprecated_file() throughout core. 2016-07-06 12:40:29 +00:00
upgrade.php Install/Upgrade: Keep indexing bots away until a site is ready to be seen. 2015-12-08 21:56:27 +00:00
upload.php Accessibility: Remove inappropriate content from the Media Library screens headings. 2016-12-06 22:18:42 +00:00
user-edit.php Accessibility: Remove inappropriate content from the Edit User screen heading. 2016-12-07 22:08:43 +00:00
user-new.php Accessibility: Improve the form labels on the Add New User screen. 2016-10-29 12:54:30 +00:00
users.php Multisite: Handle capability check for removing oneself via map_meta_cap(). 2016-12-12 21:42:42 +00:00
widgets.php Accessibility: Remove inappropriate content from the Widgets screen heading. 2016-12-07 22:18:40 +00:00