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.


git-svn-id: https://develop.svn.wordpress.org/trunk@31034 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2015-01-03 05:45:17 +00:00
parent 5db95f22d0
commit 47f2c42528
12 changed files with 0 additions and 45 deletions

View File

@@ -24,7 +24,6 @@ $title = __('Export');
function export_add_js() {
?>
<script type="text/javascript">
//<![CDATA[
jQuery(document).ready(function($){
var form = $('#export-filters'),
filters = form.find('.export-filters');
@@ -37,7 +36,6 @@ function export_add_js() {
}
});
});
//]]>
</script>
<?php
}