Changeset 2502
- Timestamp:
- 02/15/2016 06:33:54 AM (9 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/filter-bar.php
r2499 r2502 16 16 17 17 <form class="search-form search-plugins" method="get" action="<?php echo home_url('/'); ?>"> 18 <label><span class="screen-reader-text"><?php _e( 'Search Plugins', 'wporg-plugins' ); ?></span> 19 <input type="search" name="s" value="<?php echo esc_attr( get_query_var('s') ); ?>" class="wp-filter-search" placeholder="<?php esc_attr_e( 'Search plugins...', 'wporg-plugins' ); ?>"> 18 <label> 19 <span class="screen-reader-text"><?php _e( 'Search Plugins', 'wporg-plugins' ); ?></span> 20 <input type="search" name="s" value="<?php echo esc_attr( get_query_var( 's' ) ); ?>" class="wp-filter-search" placeholder="<?php esc_attr_e( 'Search plugins...', 'wporg-plugins' ); ?>"> 20 21 </label> 21 22 <input type="submit" name="" id="search-submit" class="button screen-reader-text" value="<?php esc_attr_e( 'Search Plugins', 'wporg-plugins' ); ?>"> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/single-plugin.php
r2499 r2502 5 5 6 6 <div style="width: 772px; margin: 0 auto;" itemscope itemtype="http://schema.org/SoftwareApplication"> 7 7 8 8 <div id="plugin-head" class="plugin-head-with-banner"> 9 9 10 10 <div id="plugin-title" class="with-banner"> 11 11 <div class="vignette"></div> … … 33 33 <ul id="sections"> 34 34 <?php 35 foreach ( Plugin_Directory_Template_Helpers::get_plugin_sections() as $section ) {35 foreach ( WPorg_Plugin_Directory_Template::get_plugin_sections() as $section ) { 36 36 $current = ( $section['slug'] == get_query_var( 'content_page' ) || ( 'description' == $section['slug'] && ! get_query_var( 'content_page' ) ) ); 37 37 printf( -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-tags.php
r2499 r2502 35 35 36 36 function worg_plugins_template_active_installs( $full = true ) { 37 $count = Plugin_Directory_Template_Helpers::get_active_installs_count( get_post()->post_name );37 $count = WPorg_Plugin_Directory_Template::get_active_installs_count( get_post()->post_name ); 38 38 39 39 if ( ! $count ) { -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/view-intro.php
r2499 r2502 6 6 '<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 7 '<strong>' . number_format_i18n( wp_count_posts( 'plugin' )->publish ) . '</strong>', 8 '<strong>' . number_format_i18n( Plugin_Directory_Template_Helpers::get_total_downloads() ) . '</strong>'8 '<strong>' . number_format_i18n( WPorg_Plugin_Directory_Template::get_total_downloads() ) . '</strong>' 9 9 ); 10 10 }
Note: See TracChangeset
for help on using the changeset viewer.