[wp-trac] [WordPress Trac] #63433: Fatal error on lostpassword if user_login is given as array

WordPress Trac noreply at wordpress.org
Sat May 17 13:29:39 UTC 2025


#63433: Fatal error on lostpassword if user_login is given as array
------------------------------------+-----------------------------
 Reporter:  leedxw                  |       Owner:  SergeyBiryukov
     Type:  defect (bug)            |      Status:  closed
 Priority:  normal                  |   Milestone:  6.9
Component:  Login and Registration  |     Version:
 Severity:  normal                  |  Resolution:  fixed
 Keywords:  has-patch               |     Focuses:
------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"60240" 60240]:
 {{{
 #!CommitTicketReference repository="" revision="60240"
 Login and Registration: Check that `$_POST` value is a string in
 `retrieve_password()`.

 This prevents a fatal error from `trim()` if an array is passed instead.

 Follow-up to [6643], [19056], [41782], [50129], [50140], [59595].

 Props leedxw, dilipbheda, mukesh27, SergeyBiryukov.
 Fixes #63433.
 }}}

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


More information about the wp-trac mailing list