Site Health: Use sentence casing consistently in header tags.
Props SergeyBiryukov, ajayghaghretiya1, ronakganatra, mukesh27, Clorith. Fixes #47298. Built from https://develop.svn.wordpress.org/trunk@46199 git-svn-id: http://core.svn.wordpress.org/trunk@46011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d968a74e2a
commit
38254bdc6f
|
@ -65,11 +65,11 @@ jQuery( document ).ready( function( $ ) {
|
|||
count = SiteHealth.site_status.issues[ issue.status ];
|
||||
|
||||
if ( 'critical' === issue.status ) {
|
||||
heading = sprintf( _n( '%s Critical issue', '%s Critical issues', count ), '<span class="issue-count">' + count + '</span>' );
|
||||
heading = sprintf( _n( '%s critical issue', '%s critical issues', count ), '<span class="issue-count">' + count + '</span>' );
|
||||
} else if ( 'recommended' === issue.status ) {
|
||||
heading = sprintf( _n( '%s Recommended improvement', '%s Recommended improvements', count ), '<span class="issue-count">' + count + '</span>' );
|
||||
heading = sprintf( _n( '%s recommended improvement', '%s recommended improvements', count ), '<span class="issue-count">' + count + '</span>' );
|
||||
} else if ( 'good' === issue.status ) {
|
||||
heading = sprintf( _n( '%s Item with no issues detected', '%s Items with no issues detected', count ), '<span class="issue-count">' + count + '</span>' );
|
||||
heading = sprintf( _n( '%s item with no issues detected', '%s items with no issues detected', count ), '<span class="issue-count">' + count + '</span>' );
|
||||
}
|
||||
|
||||
if ( heading ) {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -102,7 +102,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
|||
<h3 class="site-health-issue-count-title">
|
||||
<?php
|
||||
/* translators: %s: Number of critical issues found. */
|
||||
printf( _n( '%s Critical issue', '%s Critical issues', 0 ), '<span class="issue-count">0</span>' );
|
||||
printf( _n( '%s critical issue', '%s critical issues', 0 ), '<span class="issue-count">0</span>' );
|
||||
?>
|
||||
</h3>
|
||||
|
||||
|
@ -113,7 +113,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
|||
<h3 class="site-health-issue-count-title">
|
||||
<?php
|
||||
/* translators: %s: Number of recommended improvements. */
|
||||
printf( _n( '%s Recommended improvement', '%s Recommended improvements', 0 ), '<span class="issue-count">0</span>' );
|
||||
printf( _n( '%s recommended improvement', '%s recommended improvements', 0 ), '<span class="issue-count">0</span>' );
|
||||
?>
|
||||
</h3>
|
||||
|
||||
|
@ -132,7 +132,7 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
|||
<h3 class="site-health-issue-count-title">
|
||||
<?php
|
||||
/* translators: %s: Number of items with no issues. */
|
||||
printf( _n( '%s Item with no issues detected', '%s Items with no issues detected', 0 ), '<span class="issue-count">0</span>' );
|
||||
printf( _n( '%s item with no issues detected', '%s items with no issues detected', 0 ), '<span class="issue-count">0</span>' );
|
||||
?>
|
||||
</h3>
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.3-alpha-46198';
|
||||
$wp_version = '5.3-alpha-46199';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue