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