Changeset 54169 for trunk/src/wp-admin/includes/misc.php
- Timestamp:
- 09/14/2022 10:17:53 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/misc.php
r54122 r54169 1586 1586 * 'is_supported' - boolean - Whether the PHP version is actively supported. 1587 1587 * 'is_secure' - boolean - Whether the PHP version receives security updates. 1588 * 'is_acceptable' - boolean - Whether the PHP version is still acceptable for WordPress. 1588 * 'is_acceptable' - boolean - Whether the PHP version is still acceptable or warnings 1589 * should be shown and an update recommended. 1589 1590 */ 1590 1591 $response = json_decode( wp_remote_retrieve_body( $response ), true ); … … 1614 1615 } 1615 1616 1617 $response['is_lower_than_future_minimum'] = false; 1618 1619 // The minimum supported PHP version will be updated to 7.2. Check if the current version is lower. 1620 if ( version_compare( $version, '7.2', '<' ) ) { 1621 $response['is_lower_than_future_minimum'] = true; 1622 1623 // Force showing of warnings. 1624 $response['is_acceptable'] = false; 1625 } 1626 1616 1627 return $response; 1617 1628 }
Note: See TracChangeset
for help on using the changeset viewer.