[wp-trac] [WordPress Trac] #19426: Need to support old admin bar node ID my-account-with-avatar

WordPress Trac wp-trac at lists.automattic.com
Sat Dec 3 03:36:47 UTC 2011


#19426: Need to support old admin bar node ID my-account-with-avatar
--------------------------+-----------------
 Reporter:  nacin         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  high          |  Milestone:  3.3
Component:  Admin Bar     |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------
 In 3.2, the my account ID varied from my-account-with-avatar to my-
 account, depending on whether avatars were enabled. This was moved to
 classes in 3.3 where it belongs.

 Unfortunately plugins may have been using my-account-with-avatar. We need
 to preserve these mappings.

 A quick search of the directory found BuddyPress was among the plugins
 that did this. And smartly, for that matter -- `$bp->my_account_menu_id =
 ( ! empty( $avatar ) ) ? 'my-account-with-avatar' : 'my-account';`.

 Patch incoming.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19426>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list