Make WordPress Core

Changeset 56750


Ignore:
Timestamp:
09/29/2023 09:59:14 PM (2 months ago)
Author:
westonruter
Message:

Script Loader: Remove erroneous type attribute from script tag wrapper on login screen.

This was causing a _doing_it_wrong() notice from wp_remove_surrounding_empty_script_tags(). In fact, the type attribute was added in [56748] to test this incorrect usage notice. This commit reverts that change.

Follow-up to [56748].
Unprops westonruter.
See #58664.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-login.php

    r56748 r56750  
    420420        ob_start();
    421421        ?>
    422         <script type="text/javascript">
     422        <script>
    423423        try{document.getElementById('<?php echo $input_id; ?>').focus();}catch(e){}
    424424        if(typeof wpOnload==='function')wpOnload();
Note: See TracChangeset for help on using the changeset viewer.