Changeset 55988 for trunk/src/wp-admin/includes/class-wp-site-health.php
- Timestamp:
- 06/22/2023 02:34:56 PM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-site-health.php
r55720 r55988 1367 1367 * mysqlnd has supported utf8mb4 since 5.0.9. 1368 1368 */ 1369 if ( false !== strpos( $mysql_client_version, 'mysqlnd' ) ) {1369 if ( str_contains( $mysql_client_version, 'mysqlnd' ) ) { 1370 1370 $mysql_client_version = preg_replace( '/^\D+([\d.]+).*/', '$1', $mysql_client_version ); 1371 1371 if ( version_compare( $mysql_client_version, '5.0.9', '<' ) ) { … … 3336 3336 3337 3337 $cache_hit_callback = static function ( $header_value ) { 3338 return false !== strpos( strtolower( $header_value ), 'hit' );3338 return str_contains( strtolower( $header_value ), 'hit' ); 3339 3339 }; 3340 3340
Note: See TracChangeset
for help on using the changeset viewer.