Changeset 56687 for trunk/src/wp-includes/class-wp-customize-widgets.php
- Timestamp:
- 09/25/2023 09:03:19 PM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-widgets.php
r56559 r56687 1311 1311 unset( $registered_widget['callback'] ); // May not be JSON-serializeable. 1312 1312 } 1313 1314 ?> 1315 <script type="text/javascript"> 1316 var _wpWidgetCustomizerPreviewSettings = <?php echo wp_json_encode( $settings ); ?>; 1317 </script> 1318 <?php 1313 wp_print_inline_script_tag( 1314 sprintf( 'var _wpWidgetCustomizerPreviewSettings = %s;', wp_json_encode( $settings ) ) 1315 ); 1319 1316 } 1320 1317
Note: See TracChangeset
for help on using the changeset viewer.