Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/09/2013 03:16:01 PM (13 years ago)
Author:
johnjamesjacoby
Message:

No humility. Bump notifications menu and navigation position to below Profile, and ensure that custom notifications toolbar menu now links to new notifications page for logged in user. See #5148.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-notifications/bp-notifications-adminbar.php

    r7521 r7545  
    2929        $alert_class   = (int) $count > 0 ? 'pending-count alert' : 'count no-alert';
    3030        $menu_title    = '<span id="ab-pending-notifications" class="' . $alert_class . '">' . $count . '</span>';
     31        $menu_link     = trailingslashit( bp_loggedin_user_domain() . bp_get_notifications_slug() );
    3132
    3233        // Add the top-level Notifications button
     
    3536                'id'        => 'bp-notifications',
    3637                'title'     => $menu_title,
    37                 'href'      => bp_loggedin_user_domain(),
     38                'href'      => $menu_link,
    3839        ) );
    3940
     
    5253                        'id'     => 'no-notifications',
    5354                        'title'  => __( 'No new notifications', 'buddypress' ),
    54                         'href'   => bp_loggedin_user_domain(),
     55                        'href'   => $menu_link,
    5556                ) );
    5657        }
Note: See TracChangeset for help on using the changeset viewer.