[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 Jul 6 13:02:02 UTC 2023


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

 * keywords:  good-first-bug has-patch needs-testing => good-first-bug has-
     patch


Comment:

 Probably better to simply remove `WP_Error` from the `@return`
 declaration.

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


More information about the wp-trac mailing list