- Timestamp:
- 07/18/2026 11:15:42 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-block-directory-controller.php
r56559 r62795 274 274 'pre_http_request', 275 275 static function ( $response, $parsed_args, $url ) use ( $blocked_host ) { 276 if ( @parse_url( $url, PHP_URL_HOST ) === $blocked_host ) {276 if ( wp_parse_url( $url, PHP_URL_HOST ) === $blocked_host ) { 277 277 return new WP_Error( 'plugins_api_failed', "An expected error occurred connecting to $blocked_host because of a unit test", "cURL error 7: Failed to connect to $blocked_host port 80: Connection refused" ); 278 278
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)