Remove charset attribute from script elements. props neoxx, fixes #21146.

git-svn-id: http://core.svn.wordpress.org/trunk@21204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2012-07-03 13:27:14 +00:00
parent 4b82f5c42d
commit a9ee3b61f5
2 changed files with 3 additions and 3 deletions

View File

@ -110,7 +110,7 @@ $image = isset($_GET['i']) ? $_GET['i'] : '';
if ( !empty($_REQUEST['ajax']) ) {
switch ($_REQUEST['ajax']) {
case 'video': ?>
<script type="text/javascript" charset="utf-8">
<script type="text/javascript">
/* <![CDATA[ */
jQuery('.select').click(function() {
append_editor(jQuery('#embed-code').val());
@ -133,7 +133,7 @@ if ( !empty($_REQUEST['ajax']) ) {
<?php break;
case 'photo_thickbox': ?>
<script type="text/javascript" charset="utf-8">
<script type="text/javascript">
/* <![CDATA[ */
jQuery('.cancel').click(function() {
tb_remove();

View File

@ -423,7 +423,7 @@ if ( $show_password_fields ) :
break;
}
?>
<script type="text/javascript" charset="utf-8">
<script type="text/javascript">
if (window.location.hash == '#password') {
document.getElementById('pass1').focus();
}