Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#34192 closed defect (bug) (fixed)

PHP notice if user_login or user_email field isn't set when POSTing to wp-login.php?action=register

Reported by: johnbillion's profile johnbillion Owned by: johnbillion's profile johnbillion
Milestone: 4.4 Priority: low
Severity: normal Version:
Component: Login and Registration Keywords:
Focuses: Cc:

Description

If user registration is open on a single site install and you POST to wp-login.php?action=register without a the $_POST['user_login'] or $_POST['user_email'] parameters, PHP notices will be triggered.

Undefined index: user_login in ~/wp-login.php on line 736
Undefined index: user_email in ~/wp-login.php on line 736

Change History (1)

#1 @johnbillion
9 years ago

  • Owner set to johnbillion
  • Resolution set to fixed
  • Status changed from new to closed

In 34910:

Prevent a PHP notice when POSTing to wp-login.php?action=register without a user_login or user_email field in the POST request.

Fixes #34192

Note: See TracTickets for help on using tickets.