Changeset 56050
- Timestamp:
- 06/27/2023 05:09:52 AM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/update.php
r55720 r56050 75 75 set_site_transient( 'update_core', $current ); 76 76 77 if ( method_exists( $wpdb, 'db_version' ) ) { 77 if ( method_exists( $wpdb, 'db_server_info' ) ) { 78 $mysql_version = $wpdb->db_server_info(); 79 } elseif ( method_exists( $wpdb, 'db_version' ) ) { 78 80 $mysql_version = preg_replace( '/[^0-9.].*/', '', $wpdb->db_version() ); 79 81 } else {
Note: See TracChangeset
for help on using the changeset viewer.