Make WordPress Core

Changeset 53651


Ignore:
Timestamp:
07/05/2022 12:23:29 AM (2 years ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/users.php

    r52978 r53651  
    5959} else {
    6060    $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>';
     61}
     62
     63if ( current_user_can( 'edit_users' ) ) {
     64    $help .= '<li>' . __( '<strong>Send password reset</strong> sends the user an email with a link to set a new password.' ) . '</li>';
    6165}
    6266
Note: See TracChangeset for help on using the changeset viewer.