diff --git wp-includes/class.wp-styles.php wp-includes/class.wp-styles.php
index ecc0bb9..0435ad6 100644
|
|
class WP_Styles extends WP_Dependencies { |
62 | 62 | |
63 | 63 | $end_cond = $tag = ''; |
64 | 64 | if ( isset($this->registered[$handle]->extra['conditional']) && $this->registered[$handle]->extra['conditional'] ) { |
65 | | $tag .= "<!--[if {$this->registered[$handle]->extra['conditional']}]>\n"; |
66 | | $end_cond = "<![endif]-->\n"; |
| 65 | $tag .= "<!--[if {$this->registered[$handle]->extra['conditional']}]>"; |
| 66 | if ( $this->registered[$handle]->extra['conditional'][0] == '!' ) { |
| 67 | $tag .= '<!-->'; |
| 68 | $end_cond = '<!--'; |
| 69 | } |
| 70 | $tag .= "\n"; |
| 71 | $end_cond .= "<![endif]-->\n"; |
67 | 72 | } |
68 | 73 | |
69 | 74 | $tag .= apply_filters( 'style_loader_tag', "<link rel='$rel' id='$handle-css' $title href='$href' type='text/css' media='$media' />\n", $handle ); |