Opened 12 years ago
Closed 12 years ago
#22122 closed enhancement (duplicate)
Conditional CSS to EXCEPT IE
Reported by: | syndrael | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.4.2 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
Hello
Sorry for my poor english
In class.wp-styles.php line 69 (and following ones) must be replaced by those line below.
Like that, we can except IE for a CSS thanks to conditional '!IE'
if ( isset($obj->extra['conditional']) && $obj->extra['conditional'] ) { if($obj->extra['conditional'] != '!IE'): $tag .= "<!--[if {$obj->extra['conditional']}]>\n"; $end_cond = "<![endif]-->\n"; else: //<![if !IE]> .. <![endif]> $tag .= "<![if {$obj->extra['conditional']}]>\n"; $end_cond = "<![endif]>\n"; endif; }
I hope it will be helpful for you.
Best regards form Paris France
Change History (1)
Note: See
TracTickets for help on using
tickets.
#16118, #21162