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
This commit is contained in:
Sergey Biryukov 2019-04-03 11:01:53 +00:00
parent ef948cbfd6
commit 991eb4258d
2 changed files with 3 additions and 3 deletions

View File

@ -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
)
);

View File

@ -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.