Changeset 54548 for branches/5.8/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
- Timestamp:
- 10/17/2022 05:46:39 PM (2 years ago)
- Location:
- branches/5.8
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.8
- Property svn:mergeinfo changed
/trunk merged: 54397,54521-54530,54541
- Property svn:mergeinfo changed
-
branches/5.8/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
r51000 r54548 90 90 // Filter query clauses to include filenames. 91 91 if ( isset( $query_args['s'] ) ) { 92 add_filter( ' posts_clauses', '_filter_query_attachment_filenames' );92 add_filter( 'wp_allow_query_attachment_by_filename', '__return_true' ); 93 93 } 94 94
Note: See TracChangeset
for help on using the changeset viewer.