[wp-trac] [WordPress Trac] #20836: wp_add_inline_style does not work with concatenated stylesheets

WordPress Trac noreply at wordpress.org
Mon Jan 14 22:00:10 UTC 2013


#20836: wp_add_inline_style does not work with concatenated stylesheets
-------------------------------+------------------------------
 Reporter:  stephenh1988       |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Appearance         |     Version:  3.3.2
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------
Changes (by scribu):

 * keywords:  has-patch => reporter-feedback


Comment:

 Given:

 1) Core doesn't use wp_add_inline_style()
 2) load-styles.php doesn't require() any plugins or themes; it doesn't
 even load Core.

 From 2), we can deduce:

 3) Plugins and themes can't use concatenated stylesheets.

 Conclusion:

 Unless you modify a Core file and add a wp_add_inline_style() to it, this
 is a non-issue.

 Did I miss something?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20836#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list