Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/28/2011 10:30:03 PM (14 years ago)
Author:
djpaul
Message:

Relocates the top-level BuddyPress admin menu to under the Settings and Users menus. Maintains compatibility with third-party plugins that add their admin menus under the old top-level BP menu. See #3708.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-cssjs.php

    r5280 r5406  
    2323
    2424        /* Settings Icon */
    25         ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image a img { display: none; }
    26         ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image a { background-image: url( <?php echo plugins_url( 'buddypress/bp-core/images/admin_menu_icon.png' ) ?> ) !important; background-position: -1px -32px; }
     25        ul#adminmenu li.toplevel_page_bp-general-config .wp-menu-image a img,
     26        ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image a img {
     27            display: none;
     28        }
     29
     30        ul#adminmenu li.toplevel_page_bp-general-config .wp-menu-image a,
     31        ul#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image a {
     32            background-image: url( <?php echo plugins_url( 'buddypress/bp-core/images/admin_menu_icon.png' ) ?> ) !important; background-position: -1px -32px;
     33        }
     34
     35        ul#adminmenu li.toplevel_page_bp-general-config:hover .wp-menu-image a,
    2736        ul#adminmenu li.toplevel_page_bp-general-settings:hover .wp-menu-image a,
     37        ul#adminmenu li.toplevel_page_bp-general-config.wp-has-current-submenu .wp-menu-image a,
    2838        ul#adminmenu li.toplevel_page_bp-general-settings.wp-has-current-submenu .wp-menu-image a {
    2939            background-position: -1px 0;
Note: See TracChangeset for help on using the changeset viewer.