Changeset 5522
- Timestamp:
- 12/11/2011 11:08:12 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-members/bp-members-adminbar.php
r5521 r5522 96 96 $wp_admin_bar->add_menu( array( 97 97 'parent' => $bp->user_admin_menu_id, 98 'id' => 'edit-profile',98 'id' => $bp->user_admin_menu_id . '-edit-profile', 99 99 'title' => __( "Edit Profile", 'buddypress' ), 100 100 'href' => bp_get_members_component_link( 'profile', 'edit' ) … … 104 104 $wp_admin_bar->add_menu( array( 105 105 'parent' => $bp->user_admin_menu_id, 106 'id' => 'change-avatar',106 'id' => $bp->user_admin_menu_id . '-change-avatar', 107 107 'title' => __( "Edit Avatar", 'buddypress' ), 108 108 'href' => bp_get_members_component_link( 'profile', 'change-avatar' ) … … 113 113 $wp_admin_bar->add_menu( array( 114 114 'parent' => $bp->user_admin_menu_id, 115 'id' => 'spam-user',115 'id' => $bp->user_admin_menu_id . '-spam-user', 116 116 'title' => __( 'Mark as Spammer', 'buddypress' ), 117 117 'href' => wp_nonce_url( bp_displayed_user_domain() . 'admin/mark-spammer/', 'mark-unmark-spammer' ), … … 121 121 $wp_admin_bar->add_menu( array( 122 122 'parent' => $bp->user_admin_menu_id, 123 'id' => 'unspam-user',123 'id' => $bp->user_admin_menu_id . '-unspam-user', 124 124 'title' => __( 'Not a Spammer', 'buddypress' ), 125 125 'href' => wp_nonce_url( bp_displayed_user_domain() . 'admin/unmark-spammer/', 'mark-unmark-spammer' ), … … 131 131 $wp_admin_bar->add_menu( array( 132 132 'parent' => $bp->user_admin_menu_id, 133 'id' => 'delete-user',133 'id' => $bp->user_admin_menu_id . '-delete-user', 134 134 'title' => __( 'Delete Account', 'buddypress' ), 135 135 'href' => wp_nonce_url( bp_displayed_user_domain() . 'admin/delete-user/', 'delete-user' ),
Note: See TracChangeset
for help on using the changeset viewer.