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"; |
| 64 | if ( isset($this->registered[$handle]->extra['conditional']) && $this->registered[$handle]->extra['conditional'] ) { |
| 65 | $tag .= "<!--[if {$this->registered[$handle]->extra['conditional']}]"; |
| 66 | if( strpos( $this->registered[$handle]->extra['conditional'], '!' ) === 0 ) { |
| 67 | $tag .= "-->\n"; |
| 68 | $end_cond .= "<!--"; |
| 69 | } else { |
| 70 | $tag .= ">\n"; |
| 71 | $end_cond .= "<!"; |
| 72 | } |
| 73 | $end_cond .= "[endif]-->\n"; |