[wp-trac] [WordPress Trac] #16024: Conditional Comments for JS

WordPress Trac noreply at wordpress.org
Sun Jan 27 23:41:58 UTC 2013


#16024: Conditional Comments for JS
-------------------------------------+-----------------------------
 Reporter:  filosofo                 |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Future Release
Component:  Template                 |     Version:  3.1
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+-----------------------------
Changes (by ethitter):

 * cc: erick@… (added)


Comment:

 I think this is necessary, for two reasons.

 First, as @mattwiebe noted in
 [http://core.trac.wordpress.org/ticket/16024#comment:19 comment #19],
 jQuery 2.0 will drop a lot of backcompat for versions of IE that are still
 quite common. Unless Core plans on dropping support for those versions of
 IE when 2.0 is added to Core, we'll need some mechanism for loading the
 appropriate version needed for IE.

 Second, we already have this ability for stylesheets, so why not introduce
 parity in the script functions as well?

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


More information about the wp-trac mailing list