[wp-trac] [WordPress Trac] #21162: Add !IE conditional comment on $wp_styles->add_data

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 5 11:37:44 UTC 2012


#21162: Add !IE conditional comment on $wp_styles->add_data
-------------------------+------------------------------
 Reporter:  Umbercode    |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:  3.4
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------------------

Comment (by Umbercode):

 It should probably be:

 {{{
 if (strpos(strtoupper($obj->extra['conditional']), "(!IE)")) {
 }}}

 in order to distinguish between !IEMobile and !IE

 I guess there could be a more elegant solution?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21162#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list