WordPress.org

Make WordPress Core

Changeset 39616


Ignore:
Timestamp:
12/16/16 07:28:14 (10 months ago)
Author:
westonruter
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/default-filters.php

    r38994 r39616  
    253253add_action( 'wp_head',             'rel_canonical'                          ); 
    254254add_action( 'wp_head',             'wp_shortlink_wp_head',            10, 0 ); 
    255 add_action( 'wp_head',             'wp_custom_css_cb',                11    ); 
     255add_action( 'wp_head',             'wp_custom_css_cb',                101   ); 
    256256add_action( 'wp_head',             'wp_site_icon',                    99    ); 
    257257add_action( 'wp_footer',           'wp_print_footer_scripts',         20    ); 
Note: See TracChangeset for help on using the changeset viewer.