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

git-svn-id: https://develop.svn.wordpress.org/trunk@21204 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2012-07-03 13:27:14 +00:00
parent 260e9ec7ab
commit 6ef3ff3062
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']) ) { if ( !empty($_REQUEST['ajax']) ) {
switch ($_REQUEST['ajax']) { switch ($_REQUEST['ajax']) {
case 'video': ?> case 'video': ?>
<script type="text/javascript" charset="utf-8"> <script type="text/javascript">
/* <![CDATA[ */ /* <![CDATA[ */
jQuery('.select').click(function() { jQuery('.select').click(function() {
append_editor(jQuery('#embed-code').val()); append_editor(jQuery('#embed-code').val());
@ -133,7 +133,7 @@ if ( !empty($_REQUEST['ajax']) ) {
<?php break; <?php break;
case 'photo_thickbox': ?> case 'photo_thickbox': ?>
<script type="text/javascript" charset="utf-8"> <script type="text/javascript">
/* <![CDATA[ */ /* <![CDATA[ */
jQuery('.cancel').click(function() { jQuery('.cancel').click(function() {
tb_remove(); tb_remove();

View File

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