mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Default Filters: Correct hook type for wp_print_scripts and customize_controls_print_styles.
Props Cybr, bhi3315. Fixes #58665. git-svn-id: https://develop.svn.wordpress.org/trunk@56140 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6e1f9dfbcd
commit
28fa6d1a34
@ -589,9 +589,9 @@ add_action( 'enqueue_block_editor_assets', 'enqueue_editor_block_styles_assets'
|
||||
add_action( 'enqueue_block_editor_assets', 'wp_enqueue_editor_block_directory_assets' );
|
||||
add_action( 'enqueue_block_editor_assets', 'wp_enqueue_editor_format_library_assets' );
|
||||
add_action( 'enqueue_block_editor_assets', 'wp_enqueue_global_styles_css_custom_properties' );
|
||||
add_filter( 'wp_print_scripts', 'wp_just_in_time_script_localization' );
|
||||
add_action( 'wp_print_scripts', 'wp_just_in_time_script_localization' );
|
||||
add_filter( 'print_scripts_array', 'wp_prototype_before_jquery' );
|
||||
add_filter( 'customize_controls_print_styles', 'wp_resource_hints', 1 );
|
||||
add_action( 'customize_controls_print_styles', 'wp_resource_hints', 1 );
|
||||
add_action( 'admin_head', 'wp_check_widget_editor_deps' );
|
||||
add_filter( 'block_editor_settings_all', 'wp_add_editor_classic_theme_styles' );
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user