Changeset 54559 for branches/5.4/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
- Timestamp:
- 10/17/2022 06:01:26 PM (2 years ago)
- Location:
- branches/5.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.4
- Property svn:mergeinfo changed
/trunk merged: 54521-54530,54541
- Property svn:mergeinfo changed
-
branches/5.4/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
r47391 r54559 80 80 // Filter query clauses to include filenames. 81 81 if ( isset( $query_args['s'] ) ) { 82 add_filter( ' posts_clauses', '_filter_query_attachment_filenames' );82 add_filter( 'wp_allow_query_attachment_by_filename', '__return_true' ); 83 83 } 84 84
Note: See TracChangeset
for help on using the changeset viewer.