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

WordPress Trac noreply at wordpress.org
Tue Dec 29 06:12:24 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):

 > because of the general "stylesheets before scripts" rule
 Wasn't aware of that..

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

 I'm not really worried about that, `is_admin()` isn't true, `admin_init`
 hasn't fired, and the `admin_head_*` + admin enqueue actions haven't
 fired.

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


More information about the wp-trac mailing list