From 259ee7478243b7e0b9fb40ff9c5efb47a6c66379 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 1 Sep 2013 13:15:09 +0000 Subject: [PATCH] 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 --- wp-includes/class.wp-styles.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/class.wp-styles.php b/wp-includes/class.wp-styles.php index b1241b3046..4a54b71676 100644 --- a/wp-includes/class.wp-styles.php +++ b/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;