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/options-permalink.php

    r29716 r31034  
    5555    ?>
    5656<script type="text/javascript">
    57 //<![CDATA[
    5857jQuery(document).ready(function() {
    5958    jQuery('.permalink-structure input:radio').change(function() {
     
    6665    });
    6766});
    68 //]]>
    6967</script>
    7068<?php
Note: See TracChangeset for help on using the changeset viewer.