Changeset 50129 for trunk/src/wp-admin/user-edit.php
- Timestamp:
- 02/01/2021 10:11:46 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/user-edit.php
r50006 r50129 610 610 </tr> 611 611 <?php endif; ?> 612 <?php 613 // Allow admins to send reset password link 614 if ( ! IS_PROFILE_PAGE ) : 615 ?> 616 <tr class="user-sessions-wrap hide-if-no-js"> 617 <th><?php _e( 'Password Reset' ); ?></th> 618 <td> 619 <div class="generate-reset-link"> 620 <button type="button" class="button button-secondary" id="generate-reset-link"> 621 <?php _e( 'Send Reset Link' ); ?> 622 </button> 623 </div> 624 <p class="description"> 625 <?php 626 /* translators: 1: User's display name. */ 627 printf( __( 'Send %s a link to reset their password. This will not change their password, nor will it force a change.' ), esc_html( $profileuser->display_name ) ); 628 ?> 629 </p> 630 </td> 631 </tr> 632 <?php endif; ?> 612 633 613 634 <?php
Note: See TracChangeset
for help on using the changeset viewer.