From bad6ddc45d058e4e6d44a5b82153220954552253 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Fri, 16 Dec 2016 07:28:14 +0000 Subject: [PATCH] Customize: Bump `wp_custom_css_cb` from running at `wp_head` priority 11 to 101 to ensure Custom CSS overrides other CSS. Aligns `wp_head` action priority with Jetpack's Custom CSS. Amends [38829]. See #35395, #38672. Fixes #39270. git-svn-id: https://develop.svn.wordpress.org/trunk@39616 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/default-filters.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/default-filters.php b/src/wp-includes/default-filters.php index 5a739754b6..9b45abc9fd 100644 --- a/src/wp-includes/default-filters.php +++ b/src/wp-includes/default-filters.php @@ -252,7 +252,7 @@ add_action( 'wp_head', 'wp_print_head_scripts', 9 ); add_action( 'wp_head', 'wp_generator' ); add_action( 'wp_head', 'rel_canonical' ); add_action( 'wp_head', 'wp_shortlink_wp_head', 10, 0 ); -add_action( 'wp_head', 'wp_custom_css_cb', 11 ); +add_action( 'wp_head', 'wp_custom_css_cb', 101 ); add_action( 'wp_head', 'wp_site_icon', 99 ); add_action( 'wp_footer', 'wp_print_footer_scripts', 20 ); add_action( 'template_redirect', 'wp_shortlink_header', 11, 0 );