[wp-trac] [WordPress Trac] #52573: user-edit.php throw an empty error notice after clicking the password reset button

WordPress Trac noreply at wordpress.org
Fri Feb 19 17:22:52 UTC 2021


#52573: user-edit.php throw an empty error notice after clicking the password reset
button
-------------------------------------------------+-------------------------
 Reporter:  audrasjb                             |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  5.7
Component:  Users                                |     Version:  trunk
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch dev-feedback has-          |     Focuses:  ui
  screenshots                                    |
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"50390" 50390]:
 {{{
 #!CommitTicketReference repository="" revision="50390"
 Users: Correctly display an error message after clicking the "Send Reset
 Link" button.

 The `addInlineNotice()` function expects a single string as a success or
 error message, not an array of strings.

 Follow-up to [50129].

 Props audrasjb.
 Fixes #52573.
 }}}

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


More information about the wp-trac mailing list