[buddypress-trac] [BuddyPress Trac] #9095: Use BP Rewrites API for Customizer BP Member Nav Items
buddypress-trac
noreply at wordpress.org
Thu Feb 15 04:06:37 UTC 2024
#9095: Use BP Rewrites API for Customizer BP Member Nav Items
--------------------------+---------------------
Reporter: vapvarun | Owner: imath
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 12.3.0
Component: Templates | Version: 12.0.0
Severity: normal | Resolution: fixed
Keywords: has-patch |
--------------------------+---------------------
Changes (by imath):
* owner: (none) => imath
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"13727" 13727]:
{{{
#!CommitTicketReference repository="" revision="13727"
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
Fixes #9095 (branch 12.0)
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9095#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list