[wp-trac] [WordPress Trac] #24813: wp_add_inline_style behaviour changes with SCRIPT_DEBUG
WordPress Trac
noreply at wordpress.org
Fri Aug 23 16:04:10 UTC 2013
#24813: wp_add_inline_style behaviour changes with SCRIPT_DEBUG
------------------------------+------------------
Reporter: stephenharris | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.7
Component: General | Version: 3.3
Severity: normal | Resolution:
Keywords: has-patch commit |
------------------------------+------------------
Comment (by nacin):
Replying to [comment:5 stephenharris]:
> The above patch only changes behaviour when `SCRIPT_DEBUG` is set to
true.
Got it, thanks. I read it as the reverse. Is this (from the ticket
description) wrong?
> This means if you use wp_add_inline_style() you must enclose the style
rules yourself in <style> tags - unless, for example, SCRIPT_DEBUG is set
to true.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24813#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list