Make WordPress Core

Changeset 24412


Ignore:
Timestamp:
06/06/2013 12:29:07 AM (11 years ago)
Author:
lancewillett
Message:

Twenty Thirteen markup cleanup:

  • Remove trailing slashes on void elements such as meta and link
  • Remove type attribute from script element

Props retlehs, fixes #24499.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentythirteen/header.php

    r24169 r24412  
    2020<!--<![endif]-->
    2121<head>
    22     <meta charset="<?php bloginfo( 'charset' ); ?>" />
    23     <meta name="viewport" content="width=device-width" />
     22    <meta charset="<?php bloginfo( 'charset' ); ?>">
     23    <meta name="viewport" content="width=device-width">
    2424    <title><?php wp_title( '|', true, 'right' ); ?></title>
    25     <link rel="profile" href="http://gmpg.org/xfn/11" />
    26     <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
     25    <link rel="profile" href="http://gmpg.org/xfn/11">
     26    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
    2727    <!--[if lt IE 9]>
    28     <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script>
     28    <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js"></script>
    2929    <![endif]-->
    3030    <?php wp_head(); ?>
Note: See TracChangeset for help on using the changeset viewer.