Make WordPress Core

Ticket #47161: 47161.diff

File 47161.diff, 2.0 KB (added by dimadin, 3 years ago)
  • src/wp-admin/includes/class-wp-site-health.php

    diff --git src/wp-admin/includes/class-wp-site-health.php src/wp-admin/includes/class-wp-site-health.php
    index d7a6786a8d..e52d193da8 100644
    class WP_Site_Health { 
    737737                                'color' => 'blue',
    738738                        ),
    739739                        'description' => sprintf(
    740                                 '<p>%s</p><p>%s</p>',
    741                                 __( 'PHP modules perform most of the tasks on the server that make your site run. Any changes to these must be made by your server administrator.' ),
    742                                 sprintf(
    743                                         /* translators: %s: Link to the hosting group page about recommended PHP modules. */
    744                                         __( 'The WordPress Hosting Team maintains a list of those modules, both recommended and required, in %s.' ),
    745                                         sprintf(
    746                                                 '<a href="%1$s" target="_blank" rel="noopener noreferrer">%2$s <span class="screen-reader-text">%3$s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a>',
    747                                                 /* translators: Localized team handbook, if one exists. */
    748                                                 esc_url( __( 'https://make.wordpress.org/hosting/handbook/handbook/server-environment/#php-extensions' ) ),
    749                                                 __( 'the team handbook' ),
    750                                                 /* translators: accessibility text */
    751                                                 __( '(opens in a new tab)' )
    752                                         )
    753                                 )
     740                                '<p>%s</p>',
     741                                __( 'PHP modules perform most of the tasks on the server that make your site run. Any changes to these must be made by your server administrator.' )
     742                        ),
     743                        'actions'     => sprintf(
     744                                '<p><a href="%s" target="_blank" rel="noopener noreferrer">%s <span class="screen-reader-text">%s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a></p>',
     745                                /* translators: Localized team handbook, if one exists. */
     746                                esc_url( __( 'https://make.wordpress.org/hosting/handbook/handbook/server-environment/#php-extensions' ) ),
     747                                __( 'Read more about what PHP modules are recommended and required for WordPress to run.' ),
     748                                /* translators: accessibility text */
     749                                __( '(opens in a new tab)' )
    754750                        ),
    755                         'actions'     => '',
    756751                        'test'        => 'php_extensions',
    757752                );
    758753