Plugins: Correct the parameters used when displaying plugins with more than one million active installations.

Fixes #43193

Built from https://develop.svn.wordpress.org/trunk@43178


git-svn-id: http://core.svn.wordpress.org/trunk@43007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn 2018-05-07 21:30:23 +00:00
parent 8b34c79cec
commit 930c98b7d8
2 changed files with 2 additions and 2 deletions

View File

@ -652,7 +652,7 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
if ( $plugin['active_installs'] >= 1000000 ) { if ( $plugin['active_installs'] >= 1000000 ) {
$active_installs_millions = floor( $plugin['active_installs'] / 1000000 ); $active_installs_millions = floor( $plugin['active_installs'] / 1000000 );
$active_installs_text = sprintf( $active_installs_text = sprintf(
_nx( '%s+ Million', '%s+ Million', 'Active plugin installations', $active_installs_millions ), _nx( '%s+ Million', '%s+ Million', $active_installs_millions, 'Active plugin installations' ),
number_format_i18n( $active_installs_millions ) number_format_i18n( $active_installs_millions )
); );
} elseif ( 0 == $plugin['active_installs'] ) { } elseif ( 0 == $plugin['active_installs'] ) {

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.0-alpha-43177'; $wp_version = '5.0-alpha-43178';
/** /**
* 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.