diff --git a/src/wp-admin/authorize-application.php b/src/wp-admin/authorize-application.php index cae92ec22a..978dfacec0 100644 --- a/src/wp-admin/authorize-application.php +++ b/src/wp-admin/authorize-application.php @@ -121,6 +121,30 @@ require_once ABSPATH . 'wp-admin/admin-header.php';

+ ID, true ); + if ( count( $blogs ) > 1 ) { + ?> +

+ the %2$s blog in this installation that you have permissions on.', + 'This will grant access to all %2$s blogs in this installation that you have permissions on.', + count( $blogs ) + ), + admin_url( 'my-sites.php' ), + number_format_i18n( count( $blogs ) ) + ); + ?> +

+ +

diff --git a/src/wp-admin/user-edit.php b/src/wp-admin/user-edit.php index 03bfcf2179..deacd1de29 100644 --- a/src/wp-admin/user-edit.php +++ b/src/wp-admin/user-edit.php @@ -715,6 +715,29 @@ endif;

+ 1 ) { + ?> +

+ the %2$s blog in this installation that you have permissions on.', + 'Application passwords grant access to all %2$s blogs in this installation that you have permissions on.', + count( $blogs ) + ), + admin_url( 'my-sites.php' ), + number_format_i18n( count( $blogs ) ) + ); + ?> +

+