From 43c76d1751d93a291f2bb56a2a21a49c8b4dab82 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 1 Sep 2013 13:14:49 +0000 Subject: [PATCH] Prevent WP_Styles::do_item() from adding its own style tags when concatenation is disabled. props stephenharris. fixes #24813. git-svn-id: https://develop.svn.wordpress.org/trunk@25202 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class.wp-styles.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/class.wp-styles.php b/src/wp-includes/class.wp-styles.php index b1241b3046..4a54b71676 100644 --- a/src/wp-includes/class.wp-styles.php +++ b/src/wp-includes/class.wp-styles.php @@ -90,7 +90,7 @@ class WP_Styles extends WP_Dependencies { $this->print_html .= $this->print_inline_style( $handle, false ); } else { echo $tag; - $this->print_inline_style( $handle ); + echo $this->print_inline_style( $handle, false ); } return true;