Skip to:
Content

BuddyPress.org

Changeset 6632


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
Location:
trunk/bp-core/admin
Files:
2 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
  • trunk/bp-core/admin/css/common.css

    r6558 r6632  
    2424
    2525/* Backpat */
    26 ul#adminmenu li.toplevel_page_bp-components .wp-menu-image,
    27 ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image {
    28     display: none;
    29 }
    30 
    3126ul#adminmenu li.toplevel_page_bp-components .wp-menu-image,
    3227ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image {
Note: See TracChangeset for help on using the changeset viewer.