[wp-trac] [WordPress Trac] #24813: wp_add_inline_style behaviour changes with SCRIPT_DEBUG
WordPress Trac
noreply at wordpress.org
Tue Oct 8 18:36:21 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):
And for that matter, if the expectation is that they are passing in
something already wrapped in <style> tags, then why do we have
[http://core.trac.wordpress.org/browser/tags/3.5.2/wp-includes/class.wp-
styles.php#L123 this bit that wraps it in the output function?]
{{{
echo "<style type='text/css'>\n";
echo "$output\n";
echo "</style>\n";
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24813#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list