Site Health: Use correct singular string for plugin and theme version tests.

Props edocev, Presskopp.
Merges [45336] to the 5.2 branch.
Fixes #47264.
Built from https://develop.svn.wordpress.org/branches/5.2@45337


git-svn-id: http://core.svn.wordpress.org/branches/5.2@45148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-05-17 01:01:53 +00:00
parent 84256959b7
commit 12a29911fb
2 changed files with 3 additions and 3 deletions

View File

@ -355,7 +355,7 @@ class WP_Site_Health {
sprintf( sprintf(
/* translators: %d: The number of active plugins. */ /* translators: %d: The number of active plugins. */
_n( _n(
'Your site has %d active plugin, and they are all up to date.', 'Your site has %d active plugin, and it is up to date.',
'Your site has %d active plugins, and they are all up to date.', 'Your site has %d active plugins, and they are all up to date.',
$plugins_active $plugins_active
), ),
@ -511,7 +511,7 @@ class WP_Site_Health {
sprintf( sprintf(
/* translators: %d: The number of themes. */ /* translators: %d: The number of themes. */
_n( _n(
'Your site has %d installed theme, and they are all up to date.', 'Your site has %d installed theme, and it is up to date.',
'Your site has %d installed themes, and they are all up to date.', 'Your site has %d installed themes, and they are all up to date.',
$themes_total $themes_total
), ),

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.2.1-alpha-45335'; $wp_version = '5.2.1-alpha-45337';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.