mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Site Health: Internationalizes count in the info section headings.
If a site health info section includes the `show_count` parameter, this commit internationalizes the count. Follow-up to [45176]. Props johnbillion, swissspidy. Fixes #54341. git-svn-id: https://develop.svn.wordpress.org/trunk@51970 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
054dac262f
commit
d9bb269a31
@ -75,7 +75,10 @@ $health_check_site_status = WP_Site_Health::get_instance();
|
||||
<?php
|
||||
|
||||
if ( isset( $details['show_count'] ) && $details['show_count'] ) {
|
||||
printf( '(%d)', count( $details['fields'] ) );
|
||||
printf(
|
||||
'(%s)',
|
||||
number_format_i18n( count( $details['fields'] ) )
|
||||
);
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user