[wp-trac] [WordPress Trac] #35229: Stop generating `wp-admin.min.css`
WordPress Trac
noreply at wordpress.org
Tue Dec 29 04:03:02 UTC 2015
#35229: Stop generating `wp-admin.min.css`
---------------------------+-----------------------------
Reporter: dd32 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.5
Component: Script Loader | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: administration
---------------------------+-----------------------------
Comment (by dd32):
[attachment:35229.4.diff] works off [attachment:35229.3.diff]'s ordering
and restores the usage of `load-styles.php`.
It adds the missing `add_action( 'login_head', 'print_admin_styles' );`
call which was needed to print the styles in the header rather than the
footer.
Now a production site will load 2 CSS files, `load-styles.php` and open
sans, both in the header. A development site will of course have multiple
files loaded.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35229#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list