From eb9fb00ee60ed392179f7f8148a2b4fcf6b05ff9 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 17 Nov 2020 10:19:29 +0000 Subject: [PATCH] App Passwords: Add missing i18n for an error message. Follow-up to [49617]. See #51513. git-svn-id: https://develop.svn.wordpress.org/trunk@49627 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/user.php b/src/wp-includes/user.php index a8f5ef742e..1a5fc7f92f 100644 --- a/src/wp-includes/user.php +++ b/src/wp-includes/user.php @@ -353,7 +353,7 @@ function wp_authenticate_application_password( $input_user, $username, $password } elseif ( ! wp_is_application_passwords_available() ) { $error = new WP_Error( 'application_passwords_disabled', - 'Application passwords are not available.' + __( 'Application passwords are not available.' ) ); } elseif ( ! wp_is_application_passwords_available_for_user( $user ) ) { $error = new WP_Error(