Changeset 57985
- Timestamp:
- 04/11/2024 09:09:49 PM (8 months ago)
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/phpunit-tests.yml
r57379 r57985 46 46 matrix: 47 47 os: [ ubuntu-latest ] 48 php: [ '7. 0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ]48 php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ] 49 49 db-type: [ 'mysql' ] 50 50 db-version: [ '5.7', '8.0', '8.1', '8.2', '8.3' ] … … 98 98 matrix: 99 99 os: [ ubuntu-latest ] 100 php: [ '7. 0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ]100 php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ] 101 101 db-type: [ 'mariadb' ] 102 102 db-version: [ '10.4', '10.6', '10.11', '11.2' ] -
trunk/.github/workflows/upgrade-testing.yml
r57915 r57985 44 44 matrix: 45 45 os: [ 'ubuntu-latest' ] 46 php: [ '7. 0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ]46 php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ] 47 47 db-type: [ 'mysql' ] 48 48 db-version: [ '5.7', '8.0' ] … … 67 67 matrix: 68 68 os: [ 'ubuntu-latest' ] 69 php: [ '7. 0', '7.1', '7.2', '7.3', '7.4' ]69 php: [ '7.2', '7.3', '7.4' ] 70 70 db-type: [ 'mysql' ] 71 71 db-version: [ '5.7', '8.0' ] … … 117 117 matrix: 118 118 os: [ 'ubuntu-latest' ] 119 php: [ '7. 0', '7.1', '7.2', '7.3', '7.4' ]119 php: [ '7.2', '7.3', '7.4' ] 120 120 db-type: [ 'mysql' ] 121 121 db-version: [ '5.7', '8.0' ] -
trunk/.version-support-php.json
r57219 r57985 1 1 { 2 "6-6": [ 3 "7.2", 4 "7.3", 5 "7.4", 6 "8.0", 7 "8.1", 8 "8.2", 9 "8.3" 10 ], 2 11 "6-5": [ 3 12 "7.0", -
trunk/composer.json
r57563 r57985 12 12 "require": { 13 13 "ext-json": "*", 14 "php": ">=7. 0"14 "php": ">=7.2.24" 15 15 }, 16 16 "suggest": { -
trunk/phpcompat.xml.dist
r56667 r57985 64 64 <rule ref="PHPCompatibilityWP"/> 65 65 66 <!-- WordPress Core currently supports PHP 7. 0+. -->67 <config name="testVersion" value="7. 0-"/>66 <!-- WordPress Core currently supports PHP 7.2+. --> 67 <config name="testVersion" value="7.2-"/> 68 68 69 69 <!-- -
trunk/src/readme.html
r57793 r57985 52 52 <h2>System Requirements</h2> 53 53 <ul> 54 <li><a href="https://secure.php.net/">PHP</a> version <strong>7. 0</strong> or greater.</li>54 <li><a href="https://secure.php.net/">PHP</a> version <strong>7.2.24</strong> or greater.</li> 55 55 <li><a href="https://www.mysql.com/">MySQL</a> version <strong>5.5.5</strong> or greater.</li> 56 56 </ul> -
trunk/src/wp-admin/includes/misc.php
r57651 r57985 1648 1648 $response['is_lower_than_future_minimum'] = false; 1649 1649 1650 // The minimum supported PHP version will be updated to 7. 2. Check if the current version is lower.1651 if ( version_compare( $version, '7. 2', '<' ) ) {1650 // The minimum supported PHP version will be updated to 7.4 in the future. Check if the current version is lower. 1651 if ( version_compare( $version, '7.4', '<' ) ) { 1652 1652 $response['is_lower_than_future_minimum'] = true; 1653 1653 -
trunk/src/wp-includes/compat.php
r57524 r57985 360 360 } 361 361 362 if ( ! function_exists( 'is_iterable' ) ) {363 /**364 * Polyfill for is_iterable() function added in PHP 7.1.365 *366 * Verify that the content of a variable is an array or an object367 * implementing the Traversable interface.368 *369 * @since 4.9.6370 *371 * @param mixed $value The value to check.372 * @return bool True if `$value` is iterable, false otherwise.373 */374 function is_iterable( $value ) {375 return ( is_array( $value ) || $value instanceof Traversable );376 }377 }378 379 362 if ( ! function_exists( 'array_key_first' ) ) { 380 363 /** … … 521 504 } 522 505 523 // IMAGETYPE_WEBP constant is only defined in PHP 7.1 or later.524 if ( ! defined( 'IMAGETYPE_WEBP' ) ) {525 define( 'IMAGETYPE_WEBP', 18 );526 }527 528 // IMG_WEBP constant is only defined in PHP 7.0.10 or later.529 if ( ! defined( 'IMG_WEBP' ) ) {530 define( 'IMG_WEBP', IMAGETYPE_WEBP );531 }532 533 506 // IMAGETYPE_AVIF constant is only defined in PHP 8.x or later. 534 507 if ( ! defined( 'IMAGETYPE_AVIF' ) ) { -
trunk/src/wp-includes/version.php
r57782 r57985 38 38 * @global string $required_php_version 39 39 */ 40 $required_php_version = '7. 0.0';40 $required_php_version = '7.2.24'; 41 41 42 42 /**
Note: See TracChangeset
for help on using the changeset viewer.