Make WordPress Core

Opened 11 years ago

Closed 11 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 Owned by: johnbillion
Priority: low Milestone: 4.4
Component: Login and Registration Version:
Severity: normal Keywords:
Cc: Focuses:

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
11 years ago

  • Owner set to johnbillion
  • Resolution → fixed
  • Status new → 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.