Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/22/2011 01:45:08 PM (14 years ago)
Author:
boonebgorges
Message:

Cleans up require()s in BP installation process. Fixes #3369. See #3367

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/admin/bp-core-admin.php

    r4775 r4794  
    329329function bp_core_admin_component_options() {
    330330    global $bp_wizard;
    331            
    332     require( BP_PLUGIN_DIR . '/bp-core/bp-core-functions.php' );
     331   
     332    // Load core functions, if needed
     333    if ( !function_exists( 'bp_get_option' ) )
     334        require( BP_PLUGIN_DIR . '/bp-core/bp-core-functions.php' );
    333335
    334336    $active_components = apply_filters( 'bp_active_components', bp_get_option( 'bp-active-components' ) );
Note: See TracChangeset for help on using the changeset viewer.