Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/11/2012 09:32:04 PM (12 years ago)
Author:
johnjamesjacoby
Message:

Breathing room for cast variables.

File:
1 edited

Legend:

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

    r5727 r5729  
    189189        // in the $_POST array when unchecked, we loop through the registered settings
    190190        if ( isset( $wp_settings_fields['buddypress'] ) ) {
    191             foreach( (array)$wp_settings_fields['buddypress'] as $section => $settings ) {
     191            foreach( (array) $wp_settings_fields['buddypress'] as $section => $settings ) {
    192192                foreach( $settings as $setting_name => $setting ) {
    193193                    $value = isset( $_POST[$setting_name] ) ? $_POST[$setting_name] : '';
Note: See TracChangeset for help on using the changeset viewer.