wp_add_inline_style does not work with concatenated stylesheets
|Reported by:||stephenh1988||Owned by:||nacin|
|Cc:||stephen@…, scribu, 24-7@…, info@…|
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).
Change History (11)
- Keywords reporter-feedback added; has-patch removed
- Keywords has-patch commit added; reporter-feedback removed
- Milestone changed from Awaiting Review to 3.6
- Owner set to nacin
- Resolution set to fixed
- Status changed from new to closed