From 1092ac0ea7cb986bb78731b1cc66499d2355905f Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Fri, 29 Sep 2023 21:59:14 +0000 Subject: [PATCH] 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. git-svn-id: https://develop.svn.wordpress.org/trunk@56750 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-login.php b/src/wp-login.php index f03eea3636..2ed484a780 100644 --- a/src/wp-login.php +++ b/src/wp-login.php @@ -419,7 +419,7 @@ function login_footer( $input_id = '' ) { if ( ! empty( $input_id ) ) { ob_start(); ?> -