- Timestamp:
- 09/12/2023 03:21:02 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/wpRestUrlDetailsController.php
r56548 r56559 297 297 add_filter( 298 298 'rest_url_details_http_request_args', 299 static function ( $args, $url ) {299 static function ( $args, $url ) { 300 300 return array_merge( 301 301 $args, … … 340 340 add_filter( 341 341 "pre_site_transient_{$transient_name}", 342 static function () {342 static function () { 343 343 return '<html><head><title>This value from cache.</title></head><body></body></html>'; 344 344 } … … 368 368 add_filter( 369 369 'rest_prepare_url_details', 370 static function ( $response ) {370 static function ( $response ) { 371 371 372 372 $data = $response->get_data(); … … 418 418 add_filter( 419 419 'rest_prepare_url_details', 420 static function ( $response, $url ) {420 static function ( $response, $url ) { 421 421 return new WP_REST_Response( 422 422 array(
Note: See TracChangeset
for help on using the changeset viewer.