WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/06/2012 02:49:02 AM (8 years ago)
Author:
koopersmith
Message:

Theme Customizer: First pass at using postMessage for background color. Fix instance where preview.targetWindow would become inaccurate. Initialize setting values in customize-preview.js. see #19910.

File:
1 edited

Legend:

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

    r20110 r20123  
    123123            // @todo: Perhaps grab the URL via $_POST?
    124124            'parent' => esc_url( admin_url( 'themes.php' ) ),
     125            'values' => array(),
    125126        );
     127
     128        foreach ( $this->settings as $id => $setting ) {
     129            $settings['values'][ $id ] = $setting->value();
     130        }
     131
    126132        ?>
    127133        <script type="text/javascript">
Note: See TracChangeset for help on using the changeset viewer.