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

WordPress Trac noreply at wordpress.org
Sun Jan 31 13:54:56 UTC 2016


#35229: Stop generating `wp-admin.min.css`
---------------------------+-----------------------------
 Reporter:  dd32           |       Owner:  dd32
     Type:  enhancement    |      Status:  reopened
 Priority:  normal         |   Milestone:  4.5
Component:  Script Loader  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |     Focuses:  administration
---------------------------+-----------------------------
Changes (by ocean90):

 * keywords:  has-patch => needs-patch
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 This seems to break plugins which are adding inline styles to the `wp-
 admin` handle like
 [https://plugins.trac.wordpress.org/browser/polldaddy/tags/2.0.28/polldaddy.php#L118
 Polldaddy] or
 [https://github.com/Automattic/jetpack/blob/ce5987624fed0c6c063bce8be0e6e876b6f4319f/modules
 /custom-post-types/portfolios.php#L384 Jetpack]. Simple example:

 {{{#!php
 <?php
 add_action( 'admin_init', function() {
         wp_add_inline_style( 'wp-admin', 'a { color: red }' );
 } );
 }}}

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


More information about the wp-trac mailing list