[wp-trac] [WordPress Trac] #33270: add attribute View profile

WordPress Trac noreply at wordpress.org
Wed Aug 5 08:07:01 UTC 2015

#33270: add attribute View profile
 Reporter:  cocolabombe0  |      Owner:
     Type:  enhancement   |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Menus         |    Version:  4.2.4
 Severity:  normal        |   Keywords:
  Focuses:                |
 Hello, I use bbpress and wanted to separate in the admin bar profile and
 change profile.
 I found how to do the admin-file bar.php but that possible to add a
 variable to the profile?
 Here is my code
 $wp_admin_bar->add_menu( array(
 'href'   => ('/forums/membre/'. $current_user->user_login),

 I ask to have a variable like 'href' => $profile_url, different from edit
 to edit the profile link more easily and like that the update no longer
 modifirai the file.
 sincerely Nicolas

Ticket URL: <https://core.trac.wordpress.org/ticket/33270>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list