From f113ebd6ecf5a6fcaec9f7d2a7312127a4cacc5a Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 5 Jul 2022 00:23:29 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@53651 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/users.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/wp-admin/users.php b/src/wp-admin/users.php index d95fc68ad8..d0c10a2051 100644 --- a/src/wp-admin/users.php +++ b/src/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(