Prevent WP_Styles::do_item() from adding its own style tags when concatenation is disabled. props stephenharris. fixes #24813.
Built from https://develop.svn.wordpress.org/trunk@25202 git-svn-id: http://core.svn.wordpress.org/trunk@25174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
00c9232a19
commit
259ee74782
|
@ -90,7 +90,7 @@ class WP_Styles extends WP_Dependencies {
|
||||||
$this->print_html .= $this->print_inline_style( $handle, false );
|
$this->print_html .= $this->print_inline_style( $handle, false );
|
||||||
} else {
|
} else {
|
||||||
echo $tag;
|
echo $tag;
|
||||||
$this->print_inline_style( $handle );
|
echo $this->print_inline_style( $handle, false );
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue