- Timestamp:
- 01/03/2026 06:15:57 AM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/data/WPHTTP-testcase-redirection-script.php
r55210 r61424 55 55 if ( isset( $_GET['post-redirect-to-method'] ) ) { 56 56 $method = $_SERVER['REQUEST_METHOD']; 57 $response_code = isset( $_GET['response_code'] ) ? $_GET['response_code'] :301;57 $response_code = $_GET['response_code'] ?? 301; 58 58 59 59 if ( 'POST' == $method && ! isset( $_GET['redirection-performed'] ) ) { … … 124 124 125 125 126 $rt = isset($_GET['rt']) ? $_GET['rt'] :5;127 $r = isset($_GET['r']) ? $_GET['r'] :0;126 $rt = $_GET['rt'] ?? 5; 127 $r = $_GET['r'] ?? 0; 128 128 129 129 if ( $r < $rt ) {
Note: See TracChangeset
for help on using the changeset viewer.