[buddypress-trac] [BuddyPress Trac] #9108: BuddyPress Classic Plugin Issue: Incorrect Profile Linking in Custom Sub-Navigation

buddypress-trac noreply at wordpress.org
Thu Feb 29 07:29:26 UTC 2024


#9108: BuddyPress Classic Plugin Issue: Incorrect Profile Linking in Custom Sub-
Navigation
--------------------------+-----------------------
 Reporter:  vapvarun      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  12.4.0
Component:  Navigation    |     Version:  12.0.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------

Comment (by imath):

 In [changeset:"13744" 13744]:
 {{{
 #!CommitTicketReference repository="" revision="13744"
 BP Member’s nav: reset primary nav item links when a user is displayed

 Since 12.0, the member’s nav item links are no more initialized with the
 logged-in user links but are left empty and built using the BP Rewrites
 API. It generated a compatibility issue when the BP Legacy URL parser is
 in use (eg: when the BP Classic Add-on is active): the BP Member’s nav
 used to populate a custom WP Nav Menu was wrongly using the displayed
 member’s links instead of the logged-in user ones.

 Making sure to reset these links in favor of the logged-in user ones in
 such a case is now necessary during the custom WP Nav Menu generation
 process.

 Props vapvarun espellcaste

 See #9108 (trunk)
 Closes https://github.com/buddypress/buddypress/pull/237
 }}}

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


More information about the buddypress-trac mailing list