diff --git a/src/wp-admin/includes/class-wp-plugin-install-list-table.php b/src/wp-admin/includes/class-wp-plugin-install-list-table.php
index bcb2ff6cc7..e1a730610b 100644
--- a/src/wp-admin/includes/class-wp-plugin-install-list-table.php
+++ b/src/wp-admin/includes/class-wp-plugin-install-list-table.php
@@ -105,7 +105,11 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
$args = array(
'page' => $paged,
'per_page' => $per_page,
- 'fields' => array( 'last_updated' => true, 'downloaded' => true, 'icons' => true ),
+ 'fields' => array(
+ 'last_updated' => true,
+ 'icons' => true,
+ 'active_installs' => true
+ ),
// Send the locale and installed plugin slugs to the API so it can provide context-sensitive results.
'locale' => get_locale(),
'installed_plugins' => $this->get_installed_plugin_slugs(),
@@ -478,7 +482,14 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
-
+ = 1000000 ) {
+ $active_installs_text = _x( '1+ Million', 'Active plugin installs' );
+ } else {
+ $active_installs_text = number_format_i18n( $plugin['active_installs'] ) . '+';
+ }
+ printf( __( '%s Active Installs' ), $active_installs_text );
+ ?>
wp_unslash( $_REQUEST['plugin'] ),
'is_ssl' => is_ssl(),
- 'fields' => array( 'banners' => true, 'reviews' => true )
+ 'fields' => array(
+ 'banners' => true,
+ 'reviews' => true,
+ 'downloaded' => false,
+ 'active_installs' => true
+ )
) );
if ( is_wp_error( $api ) ) {
@@ -458,8 +463,14 @@ function install_plugin_information() {
requires ); ?>
tested ) ) { ?>
tested; ?>
- downloaded ) ) { ?>
-
downloaded ), number_format_i18n( $api->downloaded ) ); ?>
+ active_installs ) ) { ?>
+
active_installs >= 1000000 ) {
+ _ex( '1+ Million', 'Active plugin installs' );
+ } else {
+ echo number_format_i18n( $api->active_installs ) . '+';
+ }
+ ?>
slug ) && empty( $api->external ) ) { ?>
homepage ) ) { ?>