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

WordPress Trac noreply at wordpress.org
Tue Oct 8 19:44:23 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  |
------------------------------+-----------------------------

Comment (by georgestephanis):

 Replying to [comment:12 stephenharris]:
 > On a production site (`SCRIPT_DEBUG == false` it therefore behaves
 differently depending on whether your admin-side or front-end ).

 I don't think you can rely on script debug never being on in production.

 I'll have a patch up in a bit if nobody beats me to it.

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


More information about the wp-trac mailing list