Making WordPress.org


Ignore:
Timestamp:
04/05/2017 04:50:33 AM (8 years ago)
Author:
dd32
Message:

Plugin Directory: Rename the Admin section to Advanced and enable all users to view it (including logged out anonymous users).

See #2365

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/plugin-single.php

    r5210 r5248  
    120120    <div class="entry-content">
    121121        <?php
    122         if ( get_query_var( 'plugin_admin' ) ) :
    123             get_template_part( 'template-parts/section-admin' );
     122        if ( get_query_var( 'plugin_advanced' ) ) :
     123            get_template_part( 'template-parts/section-advanced' );
    124124        else:
    125125            $plugin_sections = Template::get_plugin_sections();
     
    148148                get_template_part( 'template-parts/section' );
    149149            endforeach;
    150         endif; // plugin_admin
     150        endif; // plugin_advanced
    151151        ?>
    152152    </div><!-- .entry-content -->
     
    154154    <div class="entry-meta">
    155155        <?php
    156         get_template_part( 'template-parts/plugin-sidebar', ( get_query_var( 'plugin_admin' ) ? 'admin' : '' ) );
     156        get_template_part( 'template-parts/plugin-sidebar', ( get_query_var( 'plugin_avanced' ) ? 'advanced' : '' ) );
    157157        ?>
    158158    </div><!-- .entry-meta -->
Note: See TracChangeset for help on using the changeset viewer.