From b28d64fb460b69a3746adeab9c703cc5374a7207 Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Fri, 30 Dec 2016 05:49:34 +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. Merges [39616] to the 4.7 branch. Fixes #39270. Built from https://develop.svn.wordpress.org/branches/4.7@39651 git-svn-id: http://core.svn.wordpress.org/branches/4.7@39591 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/default-filters.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/default-filters.php b/wp-includes/default-filters.php index 5a739754b6..9b45abc9fd 100644 --- a/wp-includes/default-filters.php +++ b/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 ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 4e9097107d..92183050b9 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7.1-alpha-39650'; +$wp_version = '4.7.1-alpha-39651'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.