Conditional Comments for JS
|Reported by:||filosofo||Owned by:|
|Component:||Script Loader||Keywords:||has-patch needs-testing|
Description (last modified by filosofo)
Currently, we can add IE conditional comments for CSS but not JS. That seems unnecessarily inconsistent.
Patch would allow us to do something like the following:
wp_enqueue_script( 'pngfix-handle' ); $wp_scripts->add_data( 'pngfix-handle', 'conditional', 'IE 6' );
Change History (68)
comment:24 in reply to: ↑ 19 ethitter — 19 months ago
- Keywords needs-testing added; 3.3-early removed
- Version changed from 3.1 to 3.4.1
comment:58 nacin — 5 weeks ago
- Component changed from Template to Script Loader
- Focuses template added
Note: See TracTickets for help on using tickets.