Changeset 2986 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-tags.php
- Timestamp:
- 04/20/2016 11:59:45 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-tags.php
r2612 r2986 35 35 36 36 function worg_plugins_template_active_installs( $full = true ) { 37 $count = WordPressdotorg\Plugin_Directory\Template::get_active_installs_count( get_post()->post_name);37 $count = WordPressdotorg\Plugin_Directory\Template::get_active_installs_count(); 38 38 39 if ( ! $count) {39 if ( $count <= 10 ) { 40 40 $text = __( 'Less than 10', 'wporg-plugins' ); 41 41 } elseif ( $count >= 1000000 ) {
Note: See TracChangeset
for help on using the changeset viewer.