Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/13/2012 03:09:34 PM (12 years ago)
Author:
boonebgorges
Message:

Fixes for the backward-compatibility BuddyPress admin menu

  • r6558 introduced a syntax error that was causing a PHP notice, and was also causing the admin menu to load in all cases. This changeset fixes the syntax
  • Reinstates the proper CSS for the admin menu logo
File:
1 edited

Legend:

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

    r6584 r6632  
    4343     * 'bp-general-settings' menu, it will only contain one item. Kill it.
    4444     */
    45     if ( 1 != count( $submenu['bp-general-settings'] ) )
    46         remove;
     45    if ( 1 != count( $submenu['bp-general-settings'] ) ) {
     46        return;
     47    }
    4748
    4849    // This removes the top-level menu
Note: See TracChangeset for help on using the changeset viewer.