Changeset 54568 for branches/4.8/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
- Timestamp:
- 10/17/2022 06:10:19 PM (2 years ago)
- Location:
- branches/4.8
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.8
- Property svn:mergeinfo changed
/trunk merged: 54521-54530,54541
- Property svn:mergeinfo changed
-
branches/4.8/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
r39671 r54568 50 50 // Filter query clauses to include filenames. 51 51 if ( isset( $query_args['s'] ) ) { 52 add_filter( ' posts_clauses', '_filter_query_attachment_filenames' );52 add_filter( 'wp_allow_query_attachment_by_filename', '__return_true' ); 53 53 } 54 54
Note: See TracChangeset
for help on using the changeset viewer.