Changeset 54524 for trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
- Timestamp:
- 10/17/2022 11:17:38 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php
r54085 r54524 98 98 // Filter query clauses to include filenames. 99 99 if ( isset( $query_args['s'] ) ) { 100 add_filter( ' posts_clauses', '_filter_query_attachment_filenames' );100 add_filter( 'wp_allow_query_attachment_by_filename', '__return_true' ); 101 101 } 102 102
Note: See TracChangeset
for help on using the changeset viewer.