[buddypress-trac] [BuddyPress Trac] #6534: A new API to manage single items navigation

buddypress-trac noreply at wordpress.org
Fri Jun 10 14:53:54 UTC 2016


#6534: A new API to manage single items navigation
-------------------------+---------------------------
 Reporter:  imath        |       Owner:  boonebgorges
     Type:  enhancement  |      Status:  closed
 Priority:  high         |   Milestone:  2.6
Component:  API - Nav    |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |
-------------------------+---------------------------
Changes (by boonebgorges):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"10876"]:
 {{{
 #!CommitTicketReference repository="" revision="10876"
 Fix syntax error in back compat block of `bp_core_remove_subnav_item()`.

 The arguments were reversed, causing a compatibility break with plugins
 using `bp_core_remove_subnav_item()` to remove group nav items.

 We simplify the logic by setting `$component` to 'groups' in thes cases,
 and
 letting the rest of the function handle the nav removal.

 To maintain the parallel construction, a similar syntax change has been
 introduced to `bp_core_remove_nav_item()`.

 Props dcavins, imath.
 Fixes #6534.
 }}}

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


More information about the buddypress-trac mailing list