Changeset 20737
- Timestamp:
- 05/07/2012 08:03:39 PM (12 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-customize.php
r20649 r20737 210 210 ?> 211 211 <script type="text/javascript"> 212 (function() { 213 if ( typeof wp === 'undefined' || ! wp.customize ) 214 return; 215 216 wp.customize.settings = <?php echo json_encode( $settings ); ?>; 217 })(); 212 var _wpCustomizeSettings = <?php echo json_encode( $settings ); ?>; 218 213 </script> 219 214 <?php -
trunk/wp-includes/customize-controls.php
r20645 r20737 116 116 ?> 117 117 <script type="text/javascript"> 118 (function() { 119 if ( typeof wp === 'undefined' || ! wp.customize ) 120 return; 121 122 wp.customize.settings = <?php echo json_encode( $settings ); ?>; 123 })(); 118 var _wpCustomizeSettings = <?php echo json_encode( $settings ); ?>; 124 119 </script> 125 120 </body> -
trunk/wp-includes/js/customize-controls.dev.js
r20645 r20737 367 367 368 368 $( function() { 369 api.settings = window._wpCustomizeSettings; 369 370 if ( ! api.settings ) 370 371 return; -
trunk/wp-includes/js/customize-preview.dev.js
r20598 r20737 32 32 33 33 $( function() { 34 api.settings = window._wpCustomizeSettings; 34 35 if ( ! api.settings ) 35 36 return;
Note: See TracChangeset
for help on using the changeset viewer.