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-reading.php

    r27469 r31034  
    2424?>
    2525<script type="text/javascript">
    26 //<![CDATA[
    2726    jQuery(document).ready(function($){
    2827        var section = $('#front-static-pages'),
     
    3534        section.find('input:radio').change(check_disabled);
    3635    });
    37 //]]>
    3836</script>
    3937<?php
Note: See TracChangeset for help on using the changeset viewer.