Skip to:
Content

BuddyPress.org

Ticket #8741: 8741.patch

File 8741.patch, 688 bytes (added by imath, 2 years ago)
  • src/bp-core/admin/bp-core-admin-functions.php

    diff --git src/bp-core/admin/bp-core-admin-functions.php src/bp-core/admin/bp-core-admin-functions.php
    index 16a1331d2..c961594a6 100644
    function bp_core_admin_tabbed_screen_header( $title = '', $active_tab = '', $con 
    421421                        <h1><span class="bp-badge"></span> <?php echo esc_html( $title ); ?></h1>
    422422                </div>
    423423                <nav class="buddypress-tabs-wrapper">
    424                         <?php if ( isset( $bp->admin->nav_tabs ) ) : ?>
     424                        <?php if ( isset( $bp->admin->nav_tabs ) && $bp->admin->nav_tabs ) : ?>
    425425                                <?php foreach ( $bp->admin->nav_tabs as $nav_tab ) : ?>
    426426
    427427                                        <?php echo $nav_tab; ?>