Make WordPress Core

Changeset 39651


Ignore:
Timestamp:
12/30/2016 05:48:42 AM (8 years ago)
Author:
dd32
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.
Merges [39616] to the 4.7 branch.
Fixes #39270.

Location:
branches/4.7
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.7

  • branches/4.7/src/wp-includes/default-filters.php

    r38994 r39651  
    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.