Opened 9 years ago
Closed 9 years ago
#33957 closed enhancement (invalid)
wp_enqueue_style conditional
Reported by: | sebastian.pisula | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.3.1 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
Example:
wp_enqueue_style('ie-hacks', get_template_directory_uri() . '/css/ie.min.css', false, '1.2.2', 'all', array('conditional' => 'lt IE 9'));
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
You can already add conditional comments for IE with
wp_enqueue_style
. Example:I don't think adding an extra param for this makes sense. Older IE versions are slowly dying and newer versions don't even support conditional comments anymore.