X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/a6f44f0edcda2471c5a33e4156c1c9488c7f3210..refs/tags/wordpress-3.7:/wp-includes/class.wp-styles.php diff --git a/wp-includes/class.wp-styles.php b/wp-includes/class.wp-styles.php index b1241b30..927a7e73 100644 --- a/wp-includes/class.wp-styles.php +++ b/wp-includes/class.wp-styles.php @@ -87,7 +87,8 @@ class WP_Styles extends WP_Dependencies { if ( $this->do_concat ) { $this->print_html .= $tag; - $this->print_html .= $this->print_inline_style( $handle, false ); + if ( $inline_style = $this->print_inline_style( $handle, false ) ) + $this->print_html .= sprintf( "\n", $inline_style ); } else { echo $tag; $this->print_inline_style( $handle );