Changeset 52364 for trunk/src/wp-includes/script-loader.php
- Timestamp:
- 12/14/2021 01:55:28 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r52285 r52364 2864 2864 echo "<script>window.__editorAssets = $editor_assets</script>"; 2865 2865 } 2866 2867 /** 2868 * Function that enqueues the CSS Custom Properties coming from theme.json. 2869 * 2870 * @since 5.9.0 2871 */ 2872 function wp_enqueue_global_styles_css_custom_properties() { 2873 wp_register_style( 'global-styles-css-custom-properties', false, array(), true, true ); 2874 wp_add_inline_style( 'global-styles-css-custom-properties', wp_get_global_stylesheet( array( 'variables' ) ) ); 2875 wp_enqueue_style( 'global-styles-css-custom-properties' ); 2876 }
Note: See TracChangeset
for help on using the changeset viewer.