From 1f9f97058e7ba1be20e64ebe664132bf956d3aee Mon Sep 17 00:00:00 2001 From: azaozz 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: http://svn.automattic.com/wordpress/trunk@10899 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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;