[wp-trac] [WordPress Trac] #16024: Conditional Comments for JS
WordPress Trac
noreply at wordpress.org
Mon Jan 28 17:41:05 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 |
-------------------------------------+-----------------------------
Comment (by azaozz):
Agree with [#comment:40 @georgestephanis] too. More reasons:
- Using IE conditional tags will make the scripts impossible to
concatenate.
- In practice it could be useful for IE7 however it nears
[http://core.trac.wordpress.org/ticket/18199 EOL].
- For small tweaks, there are other ways to detect a browser in JS,
feature detection being best. Also the body tag in the admin gets `ie7`
class.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16024#comment:44>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list