WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #35229, comment 6


Ignore:
Timestamp:
12/29/2015 04:31:33 AM (4 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35229, comment 6

    initial v1  
    1 35229.4.diff works better. We still have to ensure that `'open-sans', 'dashicons'` are the first and second dependency so they are loaded before the rest of the wp-admin or wp-login stylesheets.
     135229.4.diff works better. We still have to ensure that `'open-sans', 'dashicons'` are the first and second dependencies so they are loaded before the rest of the wp-admin or wp-login stylesheets.
    22
    33Also I'd move `add_action( 'login_head', 'print_admin_styles', 9 );` before `add_action( 'login_head', 'wp_print_head_scripts',  9 ); ` because of the general "stylesheets before scripts" rule. This action might eventually cause some stylesheets added by plugins and intended for wp-admin to be outputted on wp-login, but thinking the risk of breaking something there is almost non-existent.