Make WordPress Core

Ticket #52521: 52521.3.diff

File 52521.3.diff, 1.3 KB (added by Presskopp, 4 years ago)
  • wp-admin/includes/dashboard.php

     
    18741874        <?php else : ?>
    18751875                <p>
    18761876                        <?php if ( $issue_counts['critical'] > 0 ) : ?>
    1877                                 <?php _e( 'Your site has critical issues that should be addressed as soon as possible to improve its performance and security.' ); ?>
     1877                                <?php if ( $issue_counts['critical'] == 1 ) : ?>
     1878                                        <?php _e( 'Your site has a critical issue that should be addressed as soon as possible to improve its performance and security.' ); ?>
     1879                                <?php else : ?>
     1880                                        <?php _e( 'Your site has critical issues that should be addressed as soon as possible to improve its performance and security.' ); ?>
     1881                                <?php endif; ?>
    18781882                        <?php elseif ( $issues_total <= 0 ) : ?>
    18791883                                <?php _e( 'Great job! Your site currently passes all site health checks.' ); ?>
     1884                        <?php elseif ( $issues_total == 1 ) : ?>
     1885                                <?php _e( 'Your site&#8217;s health is looking good, but there is still one thing you can do to improve its performance and security.' ); ?>
    18801886                        <?php else : ?>
    18811887                                <?php _e( 'Your site&#8217;s health is looking good, but there are still some things you can do to improve its performance and security.' ); ?>
    18821888                        <?php endif; ?>