Make WordPress Core

Changeset 30218


Ignore:
Timestamp:
11/03/2014 09:46:02 PM (10 years ago)
Author:
iandstewart
Message:

Twenty Fifteen: escaping for the HTML5 shiv call.

Props philiparthurmoore, fixes #30212

File:
1 edited

Legend:

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

    r30211 r30218  
    1717    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
    1818    <!--[if lt IE 9]>
    19     <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js"></script>
     19    <script src="<?php echo esc_url( get_template_directory_uri() ); ?>/js/html5.js"></script>
    2020    <![endif]-->
    2121    <script>(function(){document.documentElement.className='js'})();</script>
Note: See TracChangeset for help on using the changeset viewer.