Make WordPress Core


Ignore:
Timestamp:
01/03/2015 05:45:17 AM (10 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-general.php

    r30705 r31034  
    2929?>
    3030<script type="text/javascript">
    31 //<![CDATA[
    3231    jQuery(document).ready(function($){
    3332        var $siteName = $( '#wp-admin-bar-site-name' ).children( 'a' ).first(),
     
    7877        });
    7978    });
    80 //]]>
    8179</script>
    8280<?php
Note: See TracChangeset for help on using the changeset viewer.