[buddypress-trac] [BuddyPress Trac] #7062: Test related to `bp_options_nav` backcompat and `bp_core_remove_nav_item()` failing

buddypress-trac noreply at wordpress.org
Thu May 12 21:35:51 UTC 2016


#7062: Test related to `bp_options_nav` backcompat and `bp_core_remove_nav_item()`
failing
--------------------------+---------------------------
 Reporter:  boonebgorges  |       Owner:  boonebgorges
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  2.6
Component:  API - Nav     |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:                |
--------------------------+---------------------------
Changes (by boonebgorges):

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


Comment:

 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/7062#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list