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

buddypress-trac noreply at wordpress.org
Thu May 12 21:35:51 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:  dev-feedback has-patch  |
------------------------------------+---------------------------

Comment (by boonebgorges):

 In [changeset:"10752"]:
 {{{
 #!CommitTicketReference repository="" revision="10752"
 Nav backcompat: Check the existence of an offset before fetching it.

 Helps avoid PHP notices when accessing the `bp_options_nav` backcompat
 layer
 after calling `bp_core_remove_nav_item()`.

 The error only appears when running versions of PHP earlier than 7.0,
 which is
 why it was inadvertently introduced in [10745]. See #6534.

 Fixes #7062.
 }}}

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


More information about the buddypress-trac mailing list