[wp-trac] [WordPress Trac] #62794: Fatal error from wp-login.php if password is an array

WordPress Trac noreply at wordpress.org
Thu Jan 9 19:42:03 UTC 2025


#62794: Fatal error from wp-login.php if password is an array
------------------------------------+-----------------------------
 Reporter:  leedxw                  |       Owner:  SergeyBiryukov
     Type:  defect (bug)            |      Status:  closed
 Priority:  normal                  |   Milestone:  6.8
Component:  Login and Registration  |     Version:  6.7.1
 Severity:  normal                  |  Resolution:  fixed
 Keywords:                          |     Focuses:
------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"59595" 59595]:
 {{{
 #!CommitTicketReference repository="" revision="59595"
 Login and Registration: Check that the `$_POST` values are strings in
 `wp_signon()`.

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

 Follow-up to [6643], [58093].

 Props leedxw, audrasjb, SergeyBiryukov.
 Fixes #62794.
 }}}

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


More information about the wp-trac mailing list