Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/24/2014 01:29:00 AM (7 years ago)
Author:
boonebgorges
Message:

Only show the xprofile field group tabs in edit mode if there is more than one field group.

Fixes #5714

Props imath, jreeve

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/profile/edit.php

    r8178 r8688  
    1010        <h4><?php printf( __( "Editing '%s' Profile Group", "buddypress" ), bp_get_the_profile_group_name() ); ?></h4>
    1111
    12         <ul class="button-nav">
     12        <?php if ( bp_profile_has_multiple_groups() ) : ?>
     13            <ul class="button-nav">
    1314
    14             <?php bp_profile_group_tabs(); ?>
     15                <?php bp_profile_group_tabs(); ?>
    1516
    16         </ul>
     17            </ul>
     18        <?php endif ;?>
    1719
    1820        <div class="clear"></div>
Note: See TracChangeset for help on using the changeset viewer.