Changeset 51347 for branches/5.8/src/wp-includes/default-filters.php
- Timestamp:
- 07/06/2021 03:16:32 PM (3 years ago)
- Location:
- branches/5.8
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.8
-
branches/5.8/src/wp-includes/default-filters.php
r51315 r51347 555 555 add_action( 'wp_enqueue_scripts', 'wp_localize_jquery_ui_datepicker', 1000 ); 556 556 add_action( 'wp_enqueue_scripts', 'wp_common_block_scripts_and_styles' ); 557 add_action( 'wp_enqueue_scripts', 'wp_enqueue_global_styles' );558 557 add_action( 'admin_enqueue_scripts', 'wp_localize_jquery_ui_datepicker', 1000 ); 559 558 add_action( 'admin_enqueue_scripts', 'wp_common_block_scripts_and_styles' ); … … 569 568 add_filter( 'customize_controls_print_styles', 'wp_resource_hints', 1 ); 570 569 570 // Global styles can be enqueued in both the header and the footer. See https://core.trac.wordpress.org/ticket/53494. 571 add_action( 'wp_enqueue_scripts', 'wp_enqueue_global_styles' ); 572 add_action( 'wp_footer', 'wp_enqueue_global_styles', 1 ); 573 571 574 add_action( 'wp_default_styles', 'wp_default_styles' ); 572 575 add_filter( 'style_loader_src', 'wp_style_loader_src', 10, 2 );
Note: See TracChangeset
for help on using the changeset viewer.