From cabad11bb4fa30a7d2e771ec145e66ad5bd5ab0f Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Mon, 22 Apr 2013 19:22:09 +0000 Subject: [PATCH] WP Styles: Correctly print 'after' data when scripts are concatenated. props stephenh1988. fixes #20836. git-svn-id: https://develop.svn.wordpress.org/trunk@24047 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 fdfe5afe32..b1241b3046 100644 --- a/wp-includes/class.wp-styles.php +++ b/wp-includes/class.wp-styles.php @@ -50,7 +50,7 @@ class WP_Styles extends WP_Dependencies { $this->concat .= "$handle,"; $this->concat_version .= "$handle$ver"; - $this->print_code .= $this->get_data( $handle, 'after' ); + $this->print_code .= $this->print_inline_style( $handle, false ); return true; }