Changeset 56559 for trunk/tests/phpunit/tests/https-detection.php
- Timestamp:
- 09/12/2023 03:21:02 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/https-detection.php
r55620 r56559 118 118 add_filter( 119 119 'pre_wp_update_https_detection_errors', 120 static function () {120 static function () { 121 121 return new WP_Error(); 122 122 } … … 128 128 add_filter( 129 129 'pre_wp_update_https_detection_errors', 130 static function () {130 static function () { 131 131 return new WP_Error( 132 132 'ssl_verification_failed', … … 317 317 */ 318 318 private function filter_set_url_scheme( $scheme ) { 319 return static function ( $url ) use ( $scheme ) {319 return static function ( $url ) use ( $scheme ) { 320 320 return set_url_scheme( $url, $scheme ); 321 321 };
Note: See TracChangeset
for help on using the changeset viewer.