Site Health: Use correct property for database-related messages.
Props mukesh27, birgire. Fixes #46783. git-svn-id: https://develop.svn.wordpress.org/trunk@45107 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c8913b375e
commit
681edf04bc
@ -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
|
||||
)
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user