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
This commit is contained in:
Sergey Biryukov 2020-11-17 10:19:29 +00:00
parent 41decddb7f
commit eb9fb00ee6

View File

@ -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(