Making WordPress.org

Changeset 2502


Ignore:
Timestamp:
02/15/2016 06:33:54 AM (9 years ago)
Author:
obenland
Message:

W.org Plugins: After [2501], use new class names.

See #1584.

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  
    1616
    1717            <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' ); ?>">
    2021                </label>
    2122                <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  
    55
    66    <div style="width: 772px; margin: 0 auto;" itemscope itemtype="http://schema.org/SoftwareApplication">
    7    
     7
    88        <div id="plugin-head" class="plugin-head-with-banner">
    9        
     9
    1010            <div id="plugin-title" class="with-banner">
    1111                <div class="vignette"></div>
     
    3333                        <ul id="sections">
    3434                            <?php
    35                             foreach ( Plugin_Directory_Template_Helpers::get_plugin_sections() as $section ) {
     35                            foreach ( WPorg_Plugin_Directory_Template::get_plugin_sections() as $section ) {
    3636                                $current = ( $section['slug'] == get_query_var( 'content_page' ) || ( 'description' == $section['slug'] && ! get_query_var( 'content_page' ) ) );
    3737                                printf(
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-tags.php

    r2499 r2502  
    3535
    3636function 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 );
    3838
    3939    if ( ! $count ) {
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/view-intro.php

    r2499 r2502  
    66            '<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>',
    77            '<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>'
    99    );
    1010}
Note: See TracChangeset for help on using the changeset viewer.