Changeset 3009 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/view-intro.php
- Timestamp:
- 04/26/2016 07:33:28 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/view-intro.php
r2612 r3009 1 1 <?php 2 namespace WordPressdotorg\Plugin_Directory\Theme; 3 use WordPressdotorg\Plugin_Directory\Template; 2 4 3 5 if ( is_front_page() && ( ! get_query_var( 'browse' ) || 'featured' == get_query_var( 'browse' ) ) ) { … … 6 8 '<p class="intro">' . __( 'Plugins extend and expand the functionality of WordPress. %1$s plugins with %2$s total downloads are at your fingertips.', 'wporg-plugins' ) . '</p>', 7 9 '<strong>' . number_format_i18n( wp_count_posts( 'plugin' )->publish ) . '</strong>', 8 '<strong>' . number_format_i18n( WordPressdotorg\Plugin_Directory\Template::get_total_downloads() ) . '</strong>'10 '<strong>' . number_format_i18n( Template::get_total_downloads() ) . '</strong>' 9 11 ); 10 12 }
Note: See TracChangeset
for help on using the changeset viewer.