From 0ea522b7a88fdd2f6809ac64bb4a86e4b475041f Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 5 Jul 2022 00:25:13 +0000 Subject: [PATCH] Help/About: Add help tab info for the "Send password reset" row action on Users screen. This adds a description in the "Available Actions" help tab for the "Send password reset" quick action when hovering over a username in the user list. Follow-up to [50129]. Props kebbet, costdev. Fixes #55801. Built from https://develop.svn.wordpress.org/trunk@53651 git-svn-id: http://core.svn.wordpress.org/trunk@53210 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/users.php | 4 ++++ wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/wp-admin/users.php b/wp-admin/users.php index d95fc68ad8..d0c10a2051 100644 --- a/wp-admin/users.php +++ b/wp-admin/users.php @@ -60,6 +60,10 @@ if ( is_multisite() ) { $help .= '
  • ' . __( 'Delete brings you to the Delete Users screen for confirmation, where you can permanently remove a user from your site and delete their content. You can also delete multiple users at once by using bulk actions.' ) . '
  • '; } +if ( current_user_can( 'edit_users' ) ) { + $help .= '
  • ' . __( 'Send password reset sends the user an email with a link to set a new password.' ) . '
  • '; +} + $help .= ''; get_current_screen()->add_help_tab( diff --git a/wp-includes/version.php b/wp-includes/version.php index 8da33a154d..e2b9026ce9 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-53646'; +$wp_version = '6.1-alpha-53651'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.