WordPress.org

Make WordPress Core

Ticket #49562: 49562.diff

File 49562.diff, 2.4 KB (added by dlh, 16 months ago)
  • src/wp-admin/includes/dashboard.php

    diff --git src/wp-admin/includes/dashboard.php src/wp-admin/includes/dashboard.php
    index 7f85382e35..ee2e7931b6 100644
    function wp_dashboard_site_health() { 
    18141814        </div>
    18151815
    18161816        <?php if ( false === $get_issues ) : ?>
    1817                 <p>
    1818                         <?php _e( 'No Site Health information has been gathered yet, you can do so by visiting the Site Health screen, alternatively the checks will run periodically.' ); ?>
    1819                 </p>
    1820 
    18211817                <p>
    18221818                        <?php
    18231819                        printf(
    18241820                                /* translators: %s: URL to Site Health screen. */
    1825                                 __( '<a href="%s">Visit the Site Health screen</a> to gather information on about your site.' ),
     1821                                __( 'Site health checks will automatically run periodically to gather information about your site. You can also <a href="%s">visit the Site Health screen</a> to gather information on about your site now.' ),
    18261822                                esc_url( admin_url( 'site-health.php' ) )
    18271823                        );
    18281824                        ?>
    18291825                </p>
    1830 
    18311826        <?php else : ?>
    18321827                <p>
    18331828                        <?php if ( $issue_counts['critical'] > 0 ) : ?>
    1834                                 <?php _e( 'Your site has critical issues that should be addressed as soon as possible to improve the performance or security of your website.' ); ?>
     1829                                <?php _e( 'Your site has critical issues that should be addressed as soon as possible to improve its performance and security.' ); ?>
    18351830                        <?php elseif ( $issues_total <= 0 ) : ?>
    18361831                                <?php _e( 'Great job! Your site currently passes all site health checks.' ); ?>
    18371832                        <?php else : ?>
    1838                                 <?php _e( 'Your site health is looking quite good, but there are still some things you can do to improve the performance and security of your website.' ); ?>
     1833                                <?php _e( "Your site's health is looking good, but there are still some things you can do to improve its performance and security." ); ?>
    18391834                        <?php endif; ?>
    18401835                </p>
    18411836        <?php endif; ?>
    function wp_dashboard_site_health() { 
    18451840                        <?php
    18461841                        printf(
    18471842                                /* translators: 1: Number of issues. 2: URL to Site Health screen. */
    1848                                 __( 'Take a look at the <strong>%1$d items</strong> on the <a href="%2$s">Site Health Status screen</a>.' ),
     1843                                _n(
     1844                                        'Take a look at the <strong>%1$d item</strong> on the <a href="%2$s">Site Health screen</a>.',
     1845                                        'Take a look at the <strong>%1$d items</strong> on the <a href="%2$s">Site Health screen</a>.',
     1846                                        $issues_total
     1847                                ),
    18491848                                $issues_total,
    18501849                                esc_url( admin_url( 'site-health.php' ) )
    18511850                        );