Remove IE specific checks from default themes in Twenty Sixteen#4658
Remove IE specific checks from default themes in Twenty Sixteen#4658metodiew wants to merge 8 commits intoWordPress:trunkfrom
Conversation
sabernhardt
left a comment
There was a problem hiding this comment.
Please restore the .widecolumn class period, restore the full comments, and remove the new space before .updated:not(.published).
Co-authored-by: Stephen A. Bernhardt <sabernhardt@yahoo.com>
Co-authored-by: Stephen A. Bernhardt <sabernhardt@yahoo.com>
Co-authored-by: Stephen A. Bernhardt <sabernhardt@yahoo.com>
Co-authored-by: Stephen A. Bernhardt <sabernhardt@yahoo.com>
Co-authored-by: Stephen A. Bernhardt <sabernhardt@yahoo.com>
| // Load the html5 shiv. | ||
| wp_enqueue_script( 'twentysixteen-html5', get_template_directory_uri() . '/js/html5.js', array(), '3.7.3' ); | ||
| // Register the html5 shiv. | ||
| wp_register_style( 'twentysixteen-html5', get_template_directory_uri() . '/js/html5.js', array(), '3.7.3' ); |
There was a problem hiding this comment.
This line needs to use wp_register_script. I missed that earlier.
There was a problem hiding this comment.
you are right, not sure how I missed that as well, updated!
|
If you're working with a website or web application and want to remove conditional checks or styles specifically targeting Internet Explorer, you can follow these general steps: Identify IE-specific code: Remove conditional comments: Update CSS rules: Test in multiple browsers: Consider using feature detection: Update JavaScript checks: Check compatibility mode: Always keep in mind the importance of testing across different browsers and versions after making changes to ensure a consistent and functional user experience. |
Remove IE specific checks from default themes in Twenty Sixteen
Trac ticket: 56699