- Timestamp:
- 03/11/2025 02:17:41 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-search-controller.php
r59899 r59970 166 166 } 167 167 168 $response = $is_head_request ? new WP_REST_Response( ) : rest_ensure_response( $results );168 $response = $is_head_request ? new WP_REST_Response( array() ) : rest_ensure_response( $results ); 169 169 $response->header( 'X-WP-Total', $total ); 170 170 $response->header( 'X-WP-TotalPages', $max_pages );
Note: See TracChangeset
for help on using the changeset viewer.