Make WordPress Core

Opened 4 years ago

#40632 new defect (bug)

Fix undefined index notice in wp-includes/user.php

Reported by: arkimedia Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.7.4
Component: Users Keywords:
Focuses: Cc:


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.

Attachments (1)

user-pass.diff (578 bytes) - added by arkimedia 4 years ago.
Fix undefined index notice

Download all attachments as: .zip

Change History (1)

4 years ago

Fix undefined index notice

Note: See TracTickets for help on using tickets.