Skip to:
Content

BuddyPress.org

Changeset 4641


Ignore:
Timestamp:
07/10/2011 03:23:12 PM (13 years ago)
Author:
boonebgorges
Message:

Changes main Notifications WP Admin Bar menu id, to avoid clashing with Settings > Notifications. Fixes #3294. Props johnjamesjacoby

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/css/admin-bar.css

    r4620 r4641  
    123123}
    124124
    125 #wpadminbar .quicklinks li#wp-admin-bar-notifications #ab-pending-notifications {
     125#wpadminbar .quicklinks li#wp-admin-bar-bp-notifications #ab-pending-notifications {
    126126    background: #eee;
    127127    color: #333;
  • trunk/bp-members/bp-members-adminbar.php

    r4620 r4641  
    168168    // Add the top-level Notifications button
    169169    $wp_admin_bar->add_menu( array(
    170         'id'    => 'notifications',
     170        'id'    => 'bp-notifications',
    171171        'title' => $menu_title,
    172172        'href'  => bp_loggedin_user_domain()
     
    176176        foreach ( (array)$notifications as $notification ) {
    177177            $wp_admin_bar->add_menu( array(
    178                 'parent' => 'notifications',
     178                'parent' => 'bp-notifications',
    179179                'id'     => 'notification-' . $notification->id,
    180180                'title'  => $notification->content,
     
    184184    } else {
    185185        $wp_admin_bar->add_menu( array(
    186             'parent' => 'notifications',
     186            'parent' => 'bp-notifications',
    187187            'id'     => 'no-notifications',
    188188            'title'  => __( 'No new notifications', 'buddypress' ),
Note: See TracChangeset for help on using the changeset viewer.