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:
parent
4b82f5c42d
commit
a9ee3b61f5
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue