Changeset 28162
- Timestamp:
- 04/19/2014 06:13:01 PM (10 years ago)
- Location:
- branches/3.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.9
-
branches/3.9/src/wp-includes/widgets.php
r28124 r28162 1422 1422 $_sidebars_widgets = $old_sidebars_widgets['data']; 1423 1423 1424 if ( 'customize' === $theme_changed ) {1424 if ( 'customize' !== $theme_changed ) { 1425 1425 remove_theme_mod( 'sidebars_widgets' ); 1426 1426 } … … 1507 1507 1508 1508 $sidebars_widgets['wp_inactive_widgets'] = array_merge($lost_widgets, (array) $sidebars_widgets['wp_inactive_widgets']); 1509 if ( 'customize' === $theme_changed ) {1509 if ( 'customize' !== $theme_changed ) { 1510 1510 wp_set_sidebars_widgets( $sidebars_widgets ); 1511 1511 }
Note: See TracChangeset
for help on using the changeset viewer.