Changeset 53015 for trunk/src/wp-includes/script-loader.php
- Timestamp:
- 03/29/2022 01:26:38 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/script-loader.php
r52989 r53015 2927 2927 * For block themes, it's loaded in the head. 2928 2928 * For classic ones, it's loaded in the body 2929 * because the wp_head action (and wp_enqueue_scripts)2930 * happens beforethe render_block.2929 * because the wp_head action happens before 2930 * the render_block. 2931 2931 * 2932 2932 * @link https://core.trac.wordpress.org/ticket/53494. … … 2937 2937 $action_hook_name = 'wp_footer'; 2938 2938 if ( wp_is_block_theme() ) { 2939 $action_hook_name = 'wp_ enqueue_scripts';2939 $action_hook_name = 'wp_head'; 2940 2940 } 2941 2941 add_action(
Note: See TracChangeset
for help on using the changeset viewer.