Skip to content
This repository has been archived by the owner on Apr 21, 2021. It is now read-only.

Commit

Permalink
Fix #36. Remove IE conditional classes in header
Browse files Browse the repository at this point in the history
  • Loading branch information
joseluis committed Nov 1, 2015
1 parent c3af08a commit 90ba898
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
8 changes: 2 additions & 6 deletions theme/header-layouts.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,8 @@
* @link http://codex.wordpress.org/Function_Reference/get_header
*/
?>
<!doctype html>

<!--[if lt IE 7]><html <?php language_attributes(); ?> class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if (IE 7)&!(IEMobile)]><html <?php language_attributes(); ?> class="no-js lt-ie9 lt-ie8"><![endif]-->
<!--[if (IE 8)&!(IEMobile)]><html <?php language_attributes(); ?> class="no-js lt-ie9"><![endif]-->
<!--[if gt IE 8]><!--> <html <?php language_attributes(); ?> class="no-js"><!--<![endif]-->
<!DOCTYPE html>
<html <?php language_attributes(); ?> class="no-js">

<head>
<meta charset="utf-8">
Expand Down
8 changes: 2 additions & 6 deletions theme/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,8 @@
* @link http://codex.wordpress.org/Function_Reference/get_header
*/
?>
<!doctype html>

<!--[if lt IE 7]><html <?php language_attributes(); ?> class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if (IE 7)&!(IEMobile)]><html <?php language_attributes(); ?> class="no-js lt-ie9 lt-ie8"><![endif]-->
<!--[if (IE 8)&!(IEMobile)]><html <?php language_attributes(); ?> class="no-js lt-ie9"><![endif]-->
<!--[if gt IE 8]><!--> <html <?php language_attributes(); ?> class="no-js"><!--<![endif]-->
<!DOCTYPE html>
<html <?php language_attributes(); ?> class="no-js">

<head>
<meta charset="utf-8">
Expand Down

0 comments on commit 90ba898

Please sign in to comment.