Changeset 13878 for trunk/src/bp-core/admin/bp-core-admin-settings.php
- Timestamp:
- 06/01/2024 04:26:18 PM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/admin/bp-core-admin-settings.php
r13870 r13878 432 432 // in the $_POST array when unchecked, we loop through the registered settings. 433 433 if ( isset( $wp_settings_fields['buddypress'] ) ) { 434 foreach ( (array) $wp_settings_fields['buddypress'] as $section => $settings ) {435 foreach ( $settings as $setting_name => $setting ) {434 foreach ( (array) $wp_settings_fields['buddypress'] as $section => $settings ) { 435 foreach ( $settings as $setting_name => $setting ) { 436 436 $value = isset( $_POST[$setting_name] ) ? $_POST[$setting_name] : ''; 437 437 … … 455 455 ); 456 456 457 foreach ( $legacy_options as $legacy_option ) {457 foreach ( $legacy_options as $legacy_option ) { 458 458 // Note: Each of these options is represented by its opposite in the UI 459 459 // Ie, the Profile Syncing option reads "Enable Sync", so when it's checked,
Note: See TracChangeset
for help on using the changeset viewer.