Make WordPress Core


Ignore:
Timestamp:
09/14/2019 02:28:47 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Site Health: Modify the grading indicator to remove percentage score in favor of a "Good" or "Should be improved" status.

This removes arbitrary confusion about what the numbers mean.

Props Clorith, hedgefield, Cybr, arena, DavidAnderson, earnjam, daveshine, Otto42, azaozz, asadkn, KARTHOST, tigertech, maximejobin, johnbillion, raboodesign, ramiy, afragen.
Fixes #47046.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/site-health.php

    r45932 r46106  
    4040            <?php _e( 'Site Health' ); ?>
    4141        </h1>
     42    </div>
    4243
    43         <div class="site-health-progress hide-if-no-js loading">
     44    <div class="health-check-title-section site-health-progress-wrapper loading hide-if-no-js">
     45        <div class="site-health-progress">
    4446            <svg role="img" aria-hidden="true" focusable="false" width="100%" height="100%" viewBox="0 0 200 200" version="1.1" xmlns="http://www.w3.org/2000/svg">
    4547                <circle r="90" cx="100" cy="100" fill="transparent" stroke-dasharray="565.48" stroke-dashoffset="0"></circle>
    4648                <circle id="bar" r="90" cx="100" cy="100" fill="transparent" stroke-dasharray="565.48" stroke-dashoffset="0"></circle>
    4749            </svg>
    48             <span class="screen-reader-text"><?php _e( 'Current health score:' ); ?></span>
    49             <span class="site-health-progress-count"></span>
     50        </div>
     51        <div class="site-health-progress-label">
     52            <?php _e( 'Results are still loading&hellip;' ); ?>
    5053        </div>
    5154    </div>
Note: See TracChangeset for help on using the changeset viewer.