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

buddypress-trac noreply at wordpress.org
Sat Jan 20 21:39:28 UTC 2018


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

Comment (by r-a-y):

 In [changeset:"11814"]:
 {{{
 #!CommitTicketReference repository="" revision="11814"
 Navigation: Restricted subnav menu pages should redirect instead of
 throwing a 404.

 Back in BuddyPress 2.6.0, we refactored the way we register menu items
 with
 the BP Navigation API (see #6534).

 The problem is we missed an instance during the refactor.  This caused
 restricted subnav pages (those set with the `'user_has_access'` parameter
 to false in `bp_core_new_subnav_item()`) to 404 instead of being
 redirected
 away.

 Commit fixes this problem.

 See #7659.
 }}}

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


More information about the buddypress-trac mailing list