WordPress.org

Make WordPress Core

Changeset 21204


Ignore:
Timestamp:
07/03/2012 01:27:14 PM (9 years ago)
Author:
nacin
Message:

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

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/press-this.php

    r21052 r21204  
    111111    switch ($_REQUEST['ajax']) {
    112112        case 'video': ?>
    113             <script type="text/javascript" charset="utf-8">
     113            <script type="text/javascript">
    114114            /* <![CDATA[ */
    115115                jQuery('.select').click(function() {
     
    134134
    135135        case 'photo_thickbox': ?>
    136             <script type="text/javascript" charset="utf-8">
     136            <script type="text/javascript">
    137137                /* <![CDATA[ */
    138138                jQuery('.cancel').click(function() {
  • trunk/wp-admin/user-edit.php

    r20964 r21204  
    424424}
    425425?>
    426 <script type="text/javascript" charset="utf-8">
     426<script type="text/javascript">
    427427    if (window.location.hash == '#password') {
    428428        document.getElementById('pass1').focus();
Note: See TracChangeset for help on using the changeset viewer.