Changeset 41243 for trunk/src/wp-includes/class-wp-customize-manager.php
- Timestamp:
- 08/12/2017 09:20:23 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-manager.php
r41205 r41243 2279 2279 // Amend post values with any supplied data. 2280 2280 foreach ( $args['data'] as $setting_id => $setting_params ) { 2281 if ( array_key_exists( 'value', $setting_params ) ) {2281 if ( is_array( $setting_params ) && array_key_exists( 'value', $setting_params ) ) { 2282 2282 $this->set_post_value( $setting_id, $setting_params['value'] ); // Add to post values so that they can be validated and sanitized. 2283 2283 }
Note: See TracChangeset
for help on using the changeset viewer.