Opened 14 months ago
Closed 14 months ago
#9009 closed defect (bug) (fixed)
Dynamic BP Member Nav items & the legacy URL parser
Reported by: | imath | Owned by: | imath |
---|---|---|---|
Milestone: | 12.0.0 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Members | Keywords: | has-patch |
Cc: |
Description
When BP Classic is active it brings back the BP Legacy URL parser. In this case added Dynamic BP Member Nav items to a WordPress menu is only shown when viewing a member's page.
To view Dynamic BP Member Nav items for the logged in User it's now required to set the BP_Core_Nav()->object_id
property to it inside the BP Members Component class (it defaults to the displayed user ID).
Note to self: give props to @emaralive & @awol for insisting about this issue 👍
Change History (2)
Note: See
TracTickets for help on using
tickets.
Initialize the BP_Core_Nav object with a user ID, by default the logged in one. Use the displayed user ID if available.
Trac ticket: https://buddypress.trac.wordpress.org/ticket/9009