- Timestamp:
- 02/03/2023 01:33:18 PM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-settings-controller.php
r54131 r55210 774 774 ); 775 775 $request = new WP_REST_Request( 'PUT', '/wp/v2/settings' ); 776 $request->add_header( ' content-type', 'application/json' );776 $request->add_header( 'Content-Type', 'application/json' ); 777 777 $request->set_body( wp_json_encode( $data ) ); 778 778
Note: See TracChangeset
for help on using the changeset viewer.