Ticket #16118: sanchothefat-01052012-class.wp-styles.php.patch
File sanchothefat-01052012-class.wp-styles.php.patch, 772 bytes (added by , 12 years ago) |
---|
-
class.wp-styles.php
68 68 $end_cond = $tag = ''; 69 69 if ( isset($obj->extra['conditional']) && $obj->extra['conditional'] ) { 70 70 $tag .= "<!--[if {$obj->extra['conditional']}]>\n"; 71 $end_cond = "<![endif]-->\n"; 71 if ( strstr( $obj->extra[ 'conditional' ], '!IE' ) ) { 72 $tag .= '<!-->'; 73 $end_cond = '<!--'; 74 } 75 $tag .= "\n"; 76 $end_cond .= "<![endif]-->\n"; 72 77 } 73 78 74 79 $tag .= apply_filters( 'style_loader_tag', "<link rel='$rel' id='$handle-css' $title href='$href' type='text/css' media='$media' />\n", $handle ); … … 168 173 $this->print_html = ''; 169 174 } 170 175 } 171