diff --git a/wp-includes/update.php b/wp-includes/update.php index 8e5302afab..1d2f55fbef 100644 --- a/wp-includes/update.php +++ b/wp-includes/update.php @@ -74,7 +74,9 @@ function wp_version_check( $extra_stats = array(), $force_check = false ) { $current->last_checked = time(); set_site_transient( 'update_core', $current ); - if ( method_exists( $wpdb, 'db_version' ) ) { + if ( method_exists( $wpdb, 'db_server_info' ) ) { + $mysql_version = $wpdb->db_server_info(); + } elseif ( method_exists( $wpdb, 'db_version' ) ) { $mysql_version = preg_replace( '/[^0-9.].*/', '', $wpdb->db_version() ); } else { $mysql_version = 'N/A'; diff --git a/wp-includes/version.php b/wp-includes/version.php index 14ad822476..2e8a5215a6 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.3-alpha-56049'; +$wp_version = '6.3-alpha-56050'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.