[wp-trac] [WordPress Trac] #63434: Warning logged if wp-login.php action is given as an array

WordPress Trac noreply at wordpress.org
Fri May 16 13:21:54 UTC 2025


#63434: Warning logged if wp-login.php action is given as an array
------------------------------------+-----------------------------
 Reporter:  leedxw                  |       Owner:  SergeyBiryukov
     Type:  defect (bug)            |      Status:  closed
 Priority:  normal                  |   Milestone:  6.9
Component:  Login and Registration  |     Version:  6.8
 Severity:  normal                  |  Resolution:  fixed
 Keywords:  has-patch               |     Focuses:
------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"60239" 60239]:
 {{{
 #!CommitTicketReference repository="" revision="60239"
 Login and Registration: Check that `action` is a string in `wp-login.php`.

 This prevents a PHP warning if an array is passed instead.

 Follow-up to [1974], [6643], [6711], [41782], [58023], [58093].

 Props leedxw, dilipbheda.
 Fixes #63434.
 }}}

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


More information about the wp-trac mailing list