[wp-trac] [WordPress Trac] #24813: wp_add_inline_style behaviour changes with SCRIPT_DEBUG

WordPress Trac noreply at wordpress.org
Fri Aug 23 14:19:22 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 [ticket:24813 stephenharris]:
 > 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.

 This should be fun to break. What happens when <style> tags are nested? Do
 things still work OK?

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


More information about the wp-trac mailing list