[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:40:51 UTC 2024


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

 * owner:  (none) => imath
 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"13745" 13745]:
 {{{
 #!CommitTicketReference repository="" revision="13745"
 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

 Fixes #9108 (branch 12.0)
 }}}

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


More information about the buddypress-trac mailing list