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.

git-svn-id: http://core.svn.wordpress.org/trunk@24412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Lance Willett 2013-06-06 00:29:07 +00:00
parent 38c19a5fde
commit 16d40fde2a
1 changed files with 5 additions and 5 deletions

View File

@ -19,13 +19,13 @@
<html <?php language_attributes(); ?>> <html <?php language_attributes(); ?>>
<!--<![endif]--> <!--<![endif]-->
<head> <head>
<meta charset="<?php bloginfo( 'charset' ); ?>" /> <meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width" /> <meta name="viewport" content="width=device-width">
<title><?php wp_title( '|', true, 'right' ); ?></title> <title><?php wp_title( '|', true, 'right' ); ?></title>
<link rel="profile" href="http://gmpg.org/xfn/11" /> <link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<!--[if lt IE 9]> <!--[if lt IE 9]>
<script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script> <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js"></script>
<![endif]--> <![endif]-->
<?php wp_head(); ?> <?php wp_head(); ?>
</head> </head>