App Passwords: Add missing i18n for an error message.

Follow-up to [49617].

See #51513.
Built from https://develop.svn.wordpress.org/trunk@49627


git-svn-id: http://core.svn.wordpress.org/trunk@49365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-11-17 10:21:08 +00:00
parent 1642f9bb1d
commit f7d3a8b5c4
2 changed files with 2 additions and 2 deletions

View File

@ -353,7 +353,7 @@ function wp_authenticate_application_password( $input_user, $username, $password
} elseif ( ! wp_is_application_passwords_available() ) { } elseif ( ! wp_is_application_passwords_available() ) {
$error = new WP_Error( $error = new WP_Error(
'application_passwords_disabled', 'application_passwords_disabled',
'Application passwords are not available.' __( 'Application passwords are not available.' )
); );
} elseif ( ! wp_is_application_passwords_available_for_user( $user ) ) { } elseif ( ! wp_is_application_passwords_available_for_user( $user ) ) {
$error = new WP_Error( $error = new WP_Error(

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.6-beta4-49626'; $wp_version = '5.6-beta4-49627';
/** /**
* 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.