mirror of
git://develop.git.wordpress.org/
synced 2025-03-15 17:39:52 +01:00
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. Merge of [39598] to the 4.7 branch. Props jblz, tyxla. Fixes #39092. git-svn-id: https://develop.svn.wordpress.org/branches/4.7@39629 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
Languages
PHP
81.6%
CSS
8.8%
JavaScript
8.1%
SCSS
0.8%
HTML
0.7%