From ea8933b155ae41df035615652c285e633657e663 Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Thu, 11 Dec 2025 00:47:31 +0000 Subject: [PATCH] I18N: Add missing translation functions for REST API app login. Developed in https://github.com/WordPress/wordpress-develop/pull/10578 Follow-up to [49110], [49109]. Props geminorum. See #42790. Fixes #64331. Built from https://develop.svn.wordpress.org/trunk@61368 git-svn-id: http://core.svn.wordpress.org/trunk@60680 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- wp-login.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index dbe80d1b83..86bdace909 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '7.0-alpha-61367'; +$wp_version = '7.0-alpha-61368'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-login.php b/wp-login.php index 60d9c21f3d..429032a43a 100644 --- a/wp-login.php +++ b/wp-login.php @@ -1462,10 +1462,10 @@ switch ( $action ) { if ( ! empty( $query['app_name'] ) ) { /* translators: 1: Website name, 2: Application name. */ - $message = sprintf( 'Please log in to %1$s to authorize %2$s to connect to your account.', get_bloginfo( 'name', 'display' ), '' . esc_html( $query['app_name'] ) . '' ); + $message = sprintf( __( 'Please log in to %1$s to authorize %2$s to connect to your account.' ), get_bloginfo( 'name', 'display' ), '' . esc_html( $query['app_name'] ) . '' ); } else { /* translators: %s: Website name. */ - $message = sprintf( 'Please log in to %s to proceed with authorization.', get_bloginfo( 'name', 'display' ) ); + $message = sprintf( __( 'Please log in to %s to proceed with authorization.' ), get_bloginfo( 'name', 'display' ) ); } $errors->add( 'authorize_application', $message, 'message' );