Skip to:
Content

BuddyPress.org

Changeset 10692


Ignore:
Timestamp:
04/08/2016 07:37:16 PM (8 years ago)
Author:
johnjamesjacoby
Message:

Core: Temporarily fix fatals.

We'll find a more eloquent solution shortly.

File:
1 edited

Legend:

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

    r10609 r10692  
    35873587    // Create custom walker if one wasn't set.
    35883588    if ( empty( $args->walker ) ) {
     3589
     3590        // Temporary fix for fatals (jjj)
     3591        if ( ! class_exists( 'BP_Walker_Nav_Menu' ) ) {
     3592            require_once dirname( __FILE__ ) . '/classes/class-bp-walker-nav-menu.php';
     3593        }
     3594
    35893595        $args->walker = new BP_Walker_Nav_Menu;
    35903596    }
Note: See TracChangeset for help on using the changeset viewer.