Skip to:
Content

BuddyPress.org

Changeset 6845


Ignore:
Timestamp:
03/09/2013 09:30:29 PM (12 years ago)
Author:
johnjamesjacoby
Message:

Prevent rogue admin separator if no components with admin UI's are active.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/admin/bp-core-functions.php

    r6832 r6845  
    525525        return;
    526526
     527    // Bail if there are no components with admin UI's. Hardcoded for now, until
     528    // there's a real API for determining this later.
     529    if ( ! bp_is_active( 'activity' ) && ! bp_is_active( 'groups' ) )
     530        return;
     531
    527532    global $menu;
    528533
Note: See TracChangeset for help on using the changeset viewer.