[buddypress-trac] [BuddyPress Trac] #9095: Use BP Rewrites API for Customizer BP Member Nav Items

buddypress-trac noreply at wordpress.org
Thu Feb 15 03:53:18 UTC 2024


#9095: Use BP Rewrites API for Customizer BP Member Nav Items
--------------------------+---------------------
 Reporter:  vapvarun      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  12.3.0
Component:  Templates     |     Version:  12.0.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+---------------------

Comment (by imath):

 In [changeset:"13726" 13726]:
 {{{
 #!CommitTicketReference repository="" revision="13726"
 BP Nouveau: repair the customizer panel to sort Members nav items

 Changes introduced by the BP Rewrites API about how the Members nav items
 are registered and then set up generated a regression about this
 customizer panel.

 In short, the `bp_parse_query` action is not fired while building the
 customizer's panels.

 To bring back the possibility to sort the Members nav items from the BP
 Nouveau > Members Navigation panel, we now need to force the generation of
 the primary nav using the `bp_get_component_navigations()` function.

 NB:  this commit also prevents a notice error when sanitizing the
 navigation setting to sort items.

 Props nitinp544, vapvarun

 See #9095 (trunk)
 Closes https://github.com/buddypress/buddypress/pull/230
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9095#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list