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
This commit is contained in:
Sergey Biryukov 2022-07-05 00:25:13 +00:00
parent 8f37ef9daa
commit 0ea522b7a8
2 changed files with 5 additions and 1 deletions

View File

@ -60,6 +60,10 @@ if ( is_multisite() ) {
$help .= '<li>' . __( '<strong>Delete</strong> 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.' ) . '</li>';
}
if ( current_user_can( 'edit_users' ) ) {
$help .= '<li>' . __( '<strong>Send password reset</strong> sends the user an email with a link to set a new password.' ) . '</li>';
}
$help .= '</ul>';
get_current_screen()->add_help_tab(

View File

@ -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.