[wp-trac] [WordPress Trac] #40632: Fix undefined index notice in wp-includes/user.php

WordPress Trac noreply at wordpress.org
Tue May 2 09:49:52 UTC 2017


#40632: Fix undefined index notice in wp-includes/user.php
--------------------------+-----------------------------
 Reporter:  arkimedia     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Users         |    Version:  4.7.4
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Current solution only checks if {{{$userdata['user_pass']}}} is not empty,
 but it doesn't test if index exists.

 In attached diff file, isset check have been added in order to fix
 undefined index notice in wp-includes/user.php on line 1431.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40632>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list