Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/29/2016 09:04:59 PM (7 years ago)
Author:
boonebgorges
Message:

Remove conditional checks for initializing navigation back compat.

Nav back compat requires ArrayAccess, which is only guaranteed to
be available in PHP 5.3+.

See #7299.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/classes/class-bp-core.php

    r10825 r11361  
    255255
    256256        // Backward compatibility for plugins modifying the legacy bp_nav and bp_options_nav global properties.
    257         if ( buddypress()->do_nav_backcompat ) {
    258             $bp->bp_nav         = new BP_Core_BP_Nav_BackCompat();
    259             $bp->bp_options_nav = new BP_Core_BP_Options_Nav_BackCompat();
    260         }
     257        $bp->bp_nav         = new BP_Core_BP_Nav_BackCompat();
     258        $bp->bp_options_nav = new BP_Core_BP_Options_Nav_BackCompat();
    261259
    262260        /**
Note: See TracChangeset for help on using the changeset viewer.