[wp-trac] [WordPress Trac] #35229: Stop generating `wp-admin.min.css`

WordPress Trac noreply at wordpress.org
Tue Dec 29 03:37:15 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):

 > I may be missing something but why move all styles to the bottom in wp-
 login.php

 That was mostly a bad implementation, I couldn't figure out why they were
 loading in the footer rather than header. I think I was missing an action
 I needed to add to cause the styles to print on the head.

 I see that you've removed `if ( ( ! is_admin() && ! did_action(
 'login_init' ) )`, which has caused the styles to go back to the header,
 but not via `load-styles.php`.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35229#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list