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

WordPress Trac noreply at wordpress.org
Tue Oct 15 14:34:35 UTC 2013


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

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"25786"]:
 {{{
 #!CommitTicketReference repository="" revision="25786"
 Revert [25202] and enforce that wp_add_inline_style() does not want
 <style> tags.

 Prior to 3.7, these tags were not printed (and thus needed to be
 provided), but only in the admin and when concatenation was enabled. They
 should never be required. Strip them when we find them and issue a notice
 for incorrect usage.

 props atimmer, georgestephanis.
 fixes #24813.
 }}}

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


More information about the wp-trac mailing list