Changeset 43569 for trunk/src/wp-admin/includes/plugin-install.php
- Timestamp:
- 08/15/2018 06:22:00 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin-install.php
r43436 r43569 659 659 <?php } if ( isset( $api->active_installs ) ) { ?> 660 660 <li><strong><?php _e( 'Active Installations:' ); ?></strong> 661 662 663 664 665 666 667 668 669 670 671 672 673 674 661 <?php 662 if ( $api->active_installs >= 1000000 ) { 663 $active_installs_millions = floor( $api->active_installs / 1000000 ); 664 printf( 665 _nx( '%s+ Million', '%s+ Million', $active_installs_millions, 'Active plugin installations' ), 666 number_format_i18n( $active_installs_millions ) 667 ); 668 } elseif ( 0 == $api->active_installs ) { 669 _ex( 'Less Than 10', 'Active plugin installations' ); 670 } else { 671 echo number_format_i18n( $api->active_installs ) . '+'; 672 } 673 ?> 674 </li> 675 675 <?php } if ( ! empty( $api->slug ) && empty( $api->external ) ) { ?> 676 676 <li><a target="_blank" href="<?php echo __( 'https://wordpress.org/plugins/' ) . $api->slug; ?>/"><?php _e( 'WordPress.org Plugin Page »' ); ?></a></li>
Note: See TracChangeset
for help on using the changeset viewer.