Skip to:
Content

BuddyPress.org

Changeset 5800


Ignore:
Timestamp:
02/17/2012 03:12:49 PM (8 years ago)
Author:
boonebgorges
Message:

Include the correct file to avoid fatal errors related to bp_core_update() on Components save.

File:
1 edited

Legend:

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

    r5749 r5800  
    221221        if ( isset( $_POST['bp_components'] ) ) {
    222222            // Save settings and upgrade schema
    223             require( BP_PLUGIN_DIR . '/bp-core/admin/bp-core-update.php' );
     223            require_once( BP_PLUGIN_DIR . '/bp-core/admin/bp-core-schema.php' );
    224224            $bp->active_components = stripslashes_deep( $_POST['bp_components'] );
    225225            bp_core_install( $bp->active_components );
Note: See TracChangeset for help on using the changeset viewer.