Changeset 31990 for trunk/src/wp-admin/includes/plugin-install.php
- Timestamp:
- 04/02/2015 11:48:26 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin-install.php
r31862 r31990 349 349 'slug' => wp_unslash( $_REQUEST['plugin'] ), 350 350 'is_ssl' => is_ssl(), 351 'fields' => array( 'banners' => true, 'reviews' => true ) 351 'fields' => array( 352 'banners' => true, 353 'reviews' => true, 354 'downloaded' => false, 355 'active_installs' => true 356 ) 352 357 ) ); 353 358 … … 459 464 <?php } if ( ! empty( $api->tested ) ) { ?> 460 465 <li><strong><?php _e( 'Compatible up to:' ); ?></strong> <?php echo $api->tested; ?></li> 461 <?php } if ( ! empty( $api->downloaded ) ) { ?> 462 <li><strong><?php _e( 'Downloaded:' ); ?></strong> <?php printf( _n( '%s time', '%s times', $api->downloaded ), number_format_i18n( $api->downloaded ) ); ?></li> 466 <?php } if ( ! empty( $api->active_installs ) ) { ?> 467 <li><strong><?php _e( 'Active Installs:' ); ?></strong> <?php 468 if ( $api->active_installs >= 1000000 ) { 469 _ex( '1+ Million', 'Active plugin installs' ); 470 } else { 471 echo number_format_i18n( $api->active_installs ) . '+'; 472 } 473 ?></li> 463 474 <?php } if ( ! empty( $api->slug ) && empty( $api->external ) ) { ?> 464 475 <li><a target="_blank" href="https://wordpress.org/plugins/<?php echo $api->slug; ?>/"><?php _e( 'WordPress.org Plugin Page »' ); ?></a></li>
Note: See TracChangeset
for help on using the changeset viewer.