Changeset 55988 for trunk/src/wp-includes/class-wpdb.php
- Timestamp:
- 06/22/2023 02:34:56 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wpdb.php
r55732 r55988 1498 1498 1499 1499 // This is not meant to be foolproof -- but it will catch obviously incorrect usage. 1500 if ( strpos( $query, '%' ) === false) {1500 if ( ! str_contains( $query, '%' ) ) { 1501 1501 wp_load_translations_early(); 1502 1502 _doing_it_wrong( … … 4069 4069 * mysqlnd has supported utf8mb4 since 5.0.9. 4070 4070 */ 4071 if ( false !== strpos( $client_version, 'mysqlnd' ) ) {4071 if ( str_contains( $client_version, 'mysqlnd' ) ) { 4072 4072 $client_version = preg_replace( '/^\D+([\d.]+).*/', '$1', $client_version ); 4073 4073 return version_compare( $client_version, '5.0.9', '>=' );
Note: See TracChangeset
for help on using the changeset viewer.