WordPress.org

Making WordPress.org

Changeset 2612


Ignore:
Timestamp:
02/25/2016 05:05:50 AM (4 years ago)
Author:
dd32
Message:

Plugin Directory: Update the theme to reference the new namespaced class names.
See #1584, r2611

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/plugin-card.php

    r2555 r2612  
    33
    44         <a href="<?php the_permalink(); ?>" class="plugin-icon">
    5             <?php echo WPorg_Plugin_Directory_Template::get_plugin_icon( $post->post_name, 'html' ); ?>
     5            <?php echo WordPressdotorg\Plugin_Directory\Template::get_plugin_icon( $post->post_name, 'html' ); ?>
    66         </a>
    77         <div class="name column-name">
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/single-plugin.php

    r2555 r2612  
    22the_post();
    33get_header();
    4 $plugin_banners = WPorg_Plugin_Directory_Template::get_plugin_banner( $post );
     4$plugin_banners = WordPressdotorg\Plugin_Directory\Template::get_plugin_banner( $post );
    55
    66?>
     
    4646                        <ul id="sections">
    4747                            <?php
    48                             foreach ( WPorg_Plugin_Directory_Template::get_plugin_sections() as $section ) {
     48                            foreach ( WordPressdotorg\Plugin_Directory\Template::get_plugin_sections() as $section ) {
    4949                                $current = ( $section['slug'] == get_query_var( 'content_page' ) || ( 'description' == $section['slug'] && ! get_query_var( 'content_page' ) ) );
    5050                                printf(
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-tags.php

    r2502 r2612  
    3535
    3636function worg_plugins_template_active_installs( $full = true ) {
    37     $count = WPorg_Plugin_Directory_Template::get_active_installs_count( get_post()->post_name );
     37    $count = WordPressdotorg\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

    r2502 r2612  
    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( WPorg_Plugin_Directory_Template::get_total_downloads() ) . '</strong>'
     8            '<strong>' . number_format_i18n( WordPressdotorg\Plugin_Directory\Template::get_total_downloads() ) . '</strong>'
    99    );
    1010}
Note: See TracChangeset for help on using the changeset viewer.