diff --git a/wp-admin/includes/class-wp-plugin-install-list-table.php b/wp-admin/includes/class-wp-plugin-install-list-table.php index ceb0558c05..07ee266e09 100644 --- a/wp-admin/includes/class-wp-plugin-install-list-table.php +++ b/wp-admin/includes/class-wp-plugin-install-list-table.php @@ -650,7 +650,11 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
= 1000000 ) { - $active_installs_text = _x( '1+ Million', 'Active plugin installations' ); + $active_installs_millions = floor( $plugin['active_installs'] / 1000000 ); + $active_installs_text = sprintf( + _nx( '%s+ Million', '%s+ Million', 'Active plugin installations', $active_installs_millions ), + number_format_i18n( $active_installs_millions ) + ); } elseif ( 0 == $plugin['active_installs'] ) { $active_installs_text = _x( 'Less Than 10', 'Active plugin installations' ); } else { diff --git a/wp-admin/includes/plugin-install.php b/wp-admin/includes/plugin-install.php index c27998fe9e..445412d0f3 100644 --- a/wp-admin/includes/plugin-install.php +++ b/wp-admin/includes/plugin-install.php @@ -652,7 +652,11 @@ function install_plugin_information() {
  • active_installs >= 1000000 ) { - _ex( '1+ Million', 'Active plugin installations' ); + $active_installs_millions = floor( $api->active_installs / 1000000 ); + printf( + _nx( '%s+ Million', '%s+ Million', 'Active plugin installations', $active_installs_millions ), + number_format_i18n( $active_installs_millions ) + ); } elseif ( 0 == $api->active_installs ) { _ex( 'Less Than 10', 'Active plugin installations' ); } else { diff --git a/wp-includes/version.php b/wp-includes/version.php index 5c4d0e8243..4cf31c5f31 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-42828'; +$wp_version = '5.0-alpha-42829'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.