[buddypress-trac] [BuddyPress Trac] #8471: bp_core_new_nav_default() function is useless

buddypress-trac noreply at wordpress.org
Wed Aug 25 08:13:11 UTC 2021

#8471: bp_core_new_nav_default() function is useless
 Reporter:  imath             |       Owner:  imath
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  10.0.0
Component:  Core              |     Version:  2.6.0
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
Changes (by imath):

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


 In [changeset:"13093" 13093]:
 #!CommitTicketReference repository="" revision="13093"
 Make sure `bp_core_new_nav_default()` updates the previous default nav

 - The previous default nav item needs to have its slug added to its link
 - The default subnav slug needs to be added to the URL used by the
 corresponding `wp_admin_nav` item.
 - The new default nav item needs to have its slug removed from its link

 Fixes #8471

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

More information about the buddypress-trac mailing list