Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/11/2013 02:01:12 AM (7 years ago)
Author:
johnjamesjacoby
Message:

Theme Compatibility:

  • Intro duce bp_is_current_component_core() function, to determine if the current component is an active core component.
  • Use above function in plugins.php, to help determine whether or not to display the options navigation.
  • Update the root level single-member templates to use switch statements, per the settings components convention.
  • Fixes #4772.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-templates/bp-legacy/buddypress/members/single/plugins.php

    r6346 r6783  
    1313        <?php do_action( 'bp_before_member_plugin_template' ); ?>
    1414
     15        <?php if ( ! bp_is_current_component_core() ) : ?>
     16
    1517        <div class="item-list-tabs no-ajax" id="subnav">
    1618            <ul>
     
    2123        </div><!-- .item-list-tabs -->
    2224
     25        <?php endif; ?>
     26
    2327        <h3><?php do_action( 'bp_template_title' ); ?></h3>
    2428
Note: See TracChangeset for help on using the changeset viewer.