WordPress.org

Make WordPress Core

Ticket #17198: 17672.html-id.diff

File 17672.html-id.diff, 591 bytes (added by iandstewart, 9 years ago)

Additional conditional IDs for the html element

  • header.php

     
    44 * @subpackage Twenty Eleven
    55 */
    66?><!DOCTYPE html>
     7<!--[if IE 6]>
     8<html id="ie6" <?php language_attributes(); ?>>
     9<![endif]-->
    710<!--[if IE 7]>
    811<html id="ie7" <?php language_attributes(); ?>>
    912<![endif]-->
    10 <!--[if !IE 7]><!-->
     13<!--[if IE 8]>
     14<html id="ie8" <?php language_attributes(); ?>>
     15<![endif]-->
     16<!--[if !(IE 6) | !(IE 7) | !(IE 8)  ]><!-->
    1117<html <?php language_attributes(); ?>>
    1218<!--<![endif]-->
    1319<head>