Changeset 33488 for trunk/src/wp-includes/class-wp-customize-widgets.php
- Timestamp:
- 07/29/2015 04:02:08 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-widgets.php
r32964 r33488 1242 1242 global $wp_registered_widget_updates, $wp_registered_widget_controls; 1243 1243 1244 $setting_id = $this->get_setting_id( $widget_id ); 1245 1246 /* 1247 * Make sure that other setting changes have previewed since this widget 1248 * may depend on them (e.g. Menus being present for Custom Menu widget). 1249 */ 1250 if ( ! did_action( 'customize_preview_init' ) ) { 1251 foreach ( $this->manager->settings() as $setting ) { 1252 if ( $setting->id !== $setting_id ) { 1253 $setting->preview(); 1254 } 1255 } 1256 } 1257 1244 1258 $this->start_capturing_option_updates(); 1245 1259 $parsed_id = $this->parse_widget_id( $widget_id ); … … 1322 1336 * instead of the default widget instance value (an empty array). 1323 1337 */ 1324 $setting_id = $this->get_setting_id( $widget_id );1325 1338 $this->manager->set_post_value( $setting_id, $instance ); 1326 1339
Note: See TracChangeset
for help on using the changeset viewer.