mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-27 14:53:08 +02:00
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. Built from https://develop.svn.wordpress.org/trunk@56750 git-svn-id: http://core.svn.wordpress.org/trunk@56262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
59557e4c6e
commit
583ba4dc6d
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.4-beta1-56749';
|
$wp_version = '6.4-beta1-56750';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
@ -419,7 +419,7 @@ function login_footer( $input_id = '' ) {
|
|||||||
if ( ! empty( $input_id ) ) {
|
if ( ! empty( $input_id ) ) {
|
||||||
ob_start();
|
ob_start();
|
||||||
?>
|
?>
|
||||||
<script type="text/javascript">
|
<script>
|
||||||
try{document.getElementById('<?php echo $input_id; ?>').focus();}catch(e){}
|
try{document.getElementById('<?php echo $input_id; ?>').focus();}catch(e){}
|
||||||
if(typeof wpOnload==='function')wpOnload();
|
if(typeof wpOnload==='function')wpOnload();
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user