- Timestamp:
- 09/17/2024 09:56:18 PM (4 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php
r58783 r59034 336 336 $args['post__not_in'] = array_merge( $args['post__not_in'], $sticky_posts ); 337 337 } 338 } 339 340 if ( 341 isset( $registered['search_semantics'], $request['search_semantics'] ) 342 && 'exact' === $request['search_semantics'] 343 ) { 344 $args['exact'] = true; 338 345 } 339 346 … … 2887 2894 } 2888 2895 2896 $query_params['search_semantics'] = array( 2897 'description' => __( 'How to interpret the search input.' ), 2898 'type' => 'string', 2899 'enum' => array( 'exact' ), 2900 ); 2901 2889 2902 $query_params['offset'] = array( 2890 2903 'description' => __( 'Offset the result set by a specific number of items.' ),
Note: See TracChangeset
for help on using the changeset viewer.