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

WordPress Trac noreply at wordpress.org
Tue Oct 15 22:55:25 UTC 2013


#24813: wp_add_inline_style behaviour changes with SCRIPT_DEBUG
------------------------------+-----------------------------
 Reporter:  stephenharris     |       Owner:  SergeyBiryukov
     Type:  defect (bug)      |      Status:  reopened
 Priority:  normal            |   Milestone:  3.7
Component:  General           |     Version:  3.3
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+-----------------------------

Comment (by azaozz):

 The output from _doing_it_wrong() could be displayed in the browser, or
 could be added to a log file. `esc_html()` would be pretty bad for the
 log. Another trick/hack is to leave a space between the `<` and the first
 char of a tag name. Here it would be `< script ... >...< /script >` and
 browsers won't render the tag.

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


More information about the wp-trac mailing list