Changeset 61422
- Timestamp:
- 01/01/2026 08:43:49 AM (4 months ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/readme.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/readme.php
r60451 r61422 21 21 $response_body = $this->get_response_body( 'https://www.php.net/supported-versions.php' ); 22 22 23 preg_match_all( '#<tr class=" stable">\s*<td>\s*<a [^>]*>\s*([0-9.]*)#s', $response_body, $php_matches );23 preg_match_all( '#<tr class="(?:stable|security)">\s*<td>\s*<a [^>]*>\s*([0-9.]*)#s', $response_body, $php_matches ); 24 24 25 25 $this->assertContains( $matches[1], $php_matches[1], "readme.html's Recommended PHP version is too old. Remember to update the WordPress.org Requirements page, too." );
Note: See TracChangeset
for help on using the changeset viewer.