Changeset 4025
- Timestamp:
- 02/08/2011 07:39:31 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/bp-core/admin/bp-core-update.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/admin/bp-core-update.php
r4001 r4025 792 792 check_admin_referer( 'bpwizard_components' ); 793 793 794 $ disabled= array();794 $active_components = array(); 795 795 796 796 // Settings form submitted, now save the settings. 797 foreach ( (array)$_POST['bp_components'] as $key => $value ) { 798 if ( !(int) $value ) 799 $disabled[$key] = 1; 800 } 801 update_site_option( 'bp-deactivated-components', $disabled ); 797 foreach ( (array)$_POST['bp_components'] as $key => $value ) 798 $active_components[$key] = 1; 799 800 update_site_option( 'bp-active-components', $active_components ); 802 801 803 802 wp_cache_flush();
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)