[wp-trac] [WordPress Trac] #58194: Users: Don't show 'Reset Password' link if password reset is not allowed

WordPress Trac noreply at wordpress.org
Thu Apr 27 15:01:47 UTC 2023


#58194: Users: Don't show 'Reset Password' link if password reset is not allowed
--------------------------------------+-----------------------------
 Reporter:  ocean90                   |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Future Release
Component:  Users                     |     Version:  5.7
 Severity:  normal                    |  Resolution:
 Keywords:  good-first-bug has-patch  |     Focuses:  administration
--------------------------------------+-----------------------------

Comment (by cshark):

 Without this patch, the `Send password reset` button appears for all the
 users, even though the user `uty` has this option disabled though the
 `allow_password_reset` filter.
 [[Image(https://i.imgur.com/ZpA4mTu.png)]]

 With the patch, the option is not displayed for that user.
 [[Image(https://i.imgur.com/vDW6vqN.png)]]

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58194#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list