Make WordPress Core


Ignore:
Timestamp:
01/03/2015 05:45:17 AM (9 years ago)
Author:
wonderboymusic
Message:

Inline <script>s that are only printed in the admin for pages that are served with the HTML5 doctype absolutely do not need CDATA comments.

Props tw2113 for the initial patch.
See #18788.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/ms.php

    r30630 r31034  
    956956?>
    957957<script type="text/javascript">
    958 //<![CDATA[
    959958var tb_pathToImage = "<?php echo includes_url( 'js/thickbox/loadingAnimation.gif', 'relative' ); ?>";
    960 //]]>
    961959</script>
    962960<?php
Note: See TracChangeset for help on using the changeset viewer.