Make WordPress Core

Ticket #46783: 46783.diff

File 46783.diff, 1.2 KB (added by mukesh27, 5 years ago)

Patch.

  • wp-admin/includes/class-wp-site-health.php

    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 b class WP_Site_Health { 
    928928                                sprintf(
    929929                                        /* translators: 1: The database engine in use (MySQL or MariaDB). 2: Database server recommended version number. */
    930930                                        __( 'For optimal performance and security reasons, we recommend running %1$s version %2$s or higher. Contact your web hosting company to correct this.' ),
    931                                         ( $this->mariadb ? 'MariaDB' : 'MySQL' ),
     931                                        ( $this->is_mariadb ? 'MariaDB' : 'MySQL' ),
    932932                                        $this->health_check_mysql_rec_version
    933933                                )
    934934                        );
    class WP_Site_Health { 
    944944                                sprintf(
    945945                                        /* translators: 1: The database engine in use (MySQL or MariaDB). 2: Database server minimum version number. */
    946946                                        __( 'WordPress requires %1$s version %2$s or higher. Contact your web hosting company to correct this.' ),
    947                                         ( $this->mariadb ? 'MariaDB' : 'MySQL' ),
     947                                        ( $this->is_mariadb ? 'MariaDB' : 'MySQL' ),
    948948                                        $this->health_check_mysql_required_version
    949949                                )
    950950                        );