[buddypress-trac] [BuddyPress] #4629: New function which combines primary/secondary nav menus into one

buddypress-trac noreply at wordpress.org
Fri Nov 9 16:28:31 UTC 2012


#4629: New function which combines primary/secondary nav menus into one
-------------------------+---------------------
 Reporter:  DJPaul       |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  1.7
Component:  Core         |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:               |
-------------------------+---------------------
Changes (by djpaul):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 (In [6503]) Introduces bp_nav_menu(), which displays a merged navigation
 list from registered components. Fixes #4629.

 BP has historically used bp_get_displayed_user_nav() and
 bp_get_options_nav() to render the navigation, and these menus have always
 been visually separate in the Default theme; either in columns before 1.2,
 and in rows since 1.2.

 To provide more customisation for theme authors, and have both parts of
 the navigation displayed in the same block, this change introduces a
 merged menu function, with the parts from bp_get_options_nav nested
 appropriately under bp_get_displayed_user_nav.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4629#comment:11>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list