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

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 4 18:44:57 UTC 2012


#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:  General       |    Version:  3.3.2
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 When using `wp_add_inline_style` with concatenated stylesheets (those
 loaded through `load-styles.php` -  such as 'wp-admin'), additional styles
 added with `wp_add_inline_style` are not printed to the document - but
 instead the word 'array' is printed.

 For non-concatenated scripts `wp_add_inline_style` works as expected. Also
 when SCRIPT_DEBUG is set to true it works as expected (scripts are no-
 longer concatenated).

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


More information about the wp-trac mailing list