Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/10/2011 03:14:38 PM (13 years ago)
Author:
boonebgorges
Message:

Ensure that components activated after initial installation are installed correctly. Fixes #3322. Props sushkov

File:
1 edited

Legend:

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

    r4596 r4640  
    171171        // Settings form submitted, now save the settings. First, set active components
    172172        if ( isset( $_POST['bp_components'] ) ) {
     173            // Save settings and upgrade schema
     174            require_once( BP_PLUGIN_DIR . '/bp-core/admin/bp-core-update.php' );
    173175            $bp->active_components = stripslashes_deep( $_POST['bp_components'] );
     176            bp_core_install( $bp->active_components );
     177           
    174178            bp_update_option( 'bp-active-components', $bp->active_components );
    175179        }
Note: See TracChangeset for help on using the changeset viewer.