[buddypress-trac] [BuddyPress Trac] #6859: WP Admin Bar - Sort "My Account" subnav items

buddypress-trac noreply at wordpress.org
Mon Feb 8 05:56:23 UTC 2016

#6859: WP Admin Bar - Sort "My Account" subnav items
 Reporter:  r-a-y                       |       Owner:  r-a-y
     Type:  enhancement                 |      Status:  closed
 Priority:  normal                      |   Milestone:  2.5
Component:  General - Toolbar/BuddyBar  |     Version:  1.5.1
 Severity:  normal                      |  Resolution:  fixed
 Keywords:  has-patch commit            |
Changes (by r-a-y):

 * owner:   => r-a-y
 * status:  new => closed
 * resolution:   => fixed


 In [changeset:"10555"]:
 #!CommitTicketReference repository="" revision="10555"
 BP Component: Allow plugins to set a custom position when registering an
 admin bar subnav menu.

 This commit allows plugins to set a 'position' key when registering a WP
 Admin Bar subnav menu item in the `setup_admin_bar()` method.

 Previously, plugins had to do all sorts of array shuffling in order to
 register their subnav at a preferred position.  For backward
 we do some `'position'` key backfilling, so if a plugin isn't using the
 `'position'` key, their subnav should still display at the same location.

 Fixes #6859.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6859#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list