From 9cf560011c5936b059dad6bf4878e7927b76ff35 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Wed, 8 Apr 2009 22:49:39 +0000 Subject: [PATCH] Append "-css" to the IDs for tags in the head, props Denis-de-Bernardy, fixes #9486 git-svn-id: https://develop.svn.wordpress.org/trunk@10899 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/class.wp-styles.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/class.wp-styles.php b/wp-includes/class.wp-styles.php index 7031ad0294..ccaf906d36 100644 --- a/wp-includes/class.wp-styles.php +++ b/wp-includes/class.wp-styles.php @@ -62,14 +62,14 @@ class WP_Styles extends WP_Dependencies { $end_cond = "\n"; } - $tag .= apply_filters( 'style_loader_tag', "\n", $handle ); + $tag .= apply_filters( 'style_loader_tag', "\n", $handle ); if ( 'rtl' === $this->text_direction && isset($this->registered[$handle]->extra['rtl']) && $this->registered[$handle]->extra['rtl'] ) { if ( is_bool( $this->registered[$handle]->extra['rtl'] ) ) $rtl_href = str_replace( '.css', '-rtl.css', $href ); else $rtl_href = $this->_css_href( $this->registered[$handle]->extra['rtl'], $ver, "$handle-rtl" ); - $tag .= apply_filters( 'style_loader_tag', "\n", $handle ); + $tag .= apply_filters( 'style_loader_tag', "\n", $handle ); } $tag .= $end_cond;