From 991eb4258d2adf9a099c5b6708647efd5e7e2ae5 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 3 Apr 2019 11:01:53 +0000 Subject: [PATCH] Site Health: Use correct property for database-related messages. Props mukesh27, birgire. Fixes #46783. Built from https://develop.svn.wordpress.org/trunk@45107 git-svn-id: http://core.svn.wordpress.org/trunk@44916 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-site-health.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/includes/class-wp-site-health.php b/wp-admin/includes/class-wp-site-health.php index f758ad2b98..2832803073 100644 --- a/wp-admin/includes/class-wp-site-health.php +++ b/wp-admin/includes/class-wp-site-health.php @@ -928,7 +928,7 @@ class WP_Site_Health { sprintf( /* translators: 1: The database engine in use (MySQL or MariaDB). 2: Database server recommended version number. */ __( 'For optimal performance and security reasons, we recommend running %1$s version %2$s or higher. Contact your web hosting company to correct this.' ), - ( $this->mariadb ? 'MariaDB' : 'MySQL' ), + ( $this->is_mariadb ? 'MariaDB' : 'MySQL' ), $this->health_check_mysql_rec_version ) ); @@ -944,7 +944,7 @@ class WP_Site_Health { sprintf( /* translators: 1: The database engine in use (MySQL or MariaDB). 2: Database server minimum version number. */ __( 'WordPress requires %1$s version %2$s or higher. Contact your web hosting company to correct this.' ), - ( $this->mariadb ? 'MariaDB' : 'MySQL' ), + ( $this->is_mariadb ? 'MariaDB' : 'MySQL' ), $this->health_check_mysql_required_version ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index b5f8f09b81..26648aa7b9 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.2-beta1-45106'; +$wp_version = '5.2-beta1-45107'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.