We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18691a4 commit 3f0ac52Copy full SHA for 3f0ac52
src/wp-includes/script-loader.php
@@ -2264,6 +2264,11 @@ function wp_print_head_scripts() {
2264
/**
2265
* Private, for use in *_footer_scripts hooks
2266
*
2267
+ * In classic themes, when block styles are loaded on demand via {@see wp_load_classic_theme_block_styles_on_demand()},
2268
+ * this function is replaced by a closure in {@see wp_hoist_late_printed_styles()} which will capture the output of
2269
+ * {@see print_late_styles()} before printing footer scripts as usual. The captured late-printed styles are then hoisted
2270
+ * to the HEAD by means of the template enhancement output buffer.
2271
+ *
2272
* @since 3.3.0
2273
*/
2274
function _wp_footer_scripts() {
0 commit comments