WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/14/2014 10:45:40 PM (7 years ago)
Author:
nacin
Message:

Customizer: Properly handle widget settings when activating a previewed theme.

props westonruter, ocean90, gcorne.
fixes #27767.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-manager.php

    r27816 r28124  
    576576            $this->stop_previewing_theme();
    577577            switch_theme( $this->get_stylesheet() );
     578            update_option( 'theme_switched_via_customizer', true );
    578579            $this->start_previewing_theme();
    579580        }
Note: See TracChangeset for help on using the changeset viewer.