Make WordPress Core

Ticket #48716: 48716.diff

File 48716.diff, 962 bytes (added by wpgurudev, 5 years ago)

Update notice wordings.

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

    diff --git a/src/wp-admin/includes/class-wp-site-health.php b/src/wp-admin/includes/class-wp-site-health.php
    index 605f194ca3..0d641c0304 100644
    a b class WP_Site_Health { 
    711711                if ( $response['is_supported'] ) {
    712712                        $result['label'] = sprintf(
    713713                                /* translators: %s: The server PHP version. */
    714                                 __( 'Your version of PHP (%s) is out of date' ),
     714                                __( 'Your PHP version (%s) is outdated requires an update' ),
    715715                                PHP_VERSION
    716716                        );
    717717                        $result['status'] = 'recommended';
    class WP_Site_Health { 
    734734                // Anything no longer secure must be updated.
    735735                $result['label'] = sprintf(
    736736                        /* translators: %s: The server PHP version. */
    737                         __( 'Your version of PHP (%s) requires an update' ),
     737                        __( 'Your PHP version (%s) is outdated requires an update' ),
    738738                        PHP_VERSION
    739739                );
    740740                $result['status']         = 'critical';