[wp-trac] [WordPress Trac] #16024: Conditional Comments for JS
WordPress Trac
noreply at wordpress.org
Wed Feb 12 20:45:31 UTC 2014
#16024: Conditional Comments for JS
-------------------------------------+-----------------------------
Reporter: filosofo | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Script Loader | Version: 3.1
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: template
-------------------------------------+-----------------------------
Comment (by pauldewouters):
It's useful for scripts too. For example, some libraries don't support old
browsers so it would be better to not load the script in this case. In
this particular case, I'm using select2 for dropdowns, which doesn't work
with IE7.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/16024#comment:61>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list