WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#2905 closed defect (bug) (fixed)

New User details are not remembered on error

Reported by: leftjustified Owned by: leftjustified
Priority: normal Milestone: 2.1
Component: Administration Version: 2.0.4
Severity: normal Keywords: bg|has-patch
Cc:

Description

If incorrect details are entered in Users > Authors & Users >Add New User, the form is not pre-populated with the previous data. Props to Libertus for noticing this one.

Attachments (2)

user.php.diff (951 bytes) - added by leftjustified 7 years ago.
patch for 2.0.4 -- file replaced to include validation correction
users.php.diff (2.6 KB) - added by leftjustified 7 years ago.
improved patch, includes escaped output (2.0 branch)

Download all attachments as: .zip

Change History (5)

leftjustified7 years ago

patch for 2.0.4 -- file replaced to include validation correction

leftjustified7 years ago

improved patch, includes escaped output (2.0 branch)

comment:1 leftjustified7 years ago

  • Status changed from new to assigned

The id attribute from the submit button is removed in this patch because the form containing it also has id="adduser"

comment:2 ryan7 years ago

  • Milestone changed from 2.0.4 to 2.1

comment:3 markjaquith7 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

Already fixed in 2.1, both for AJAX add and no-JS add.

Note: See TracTickets for help on using tickets.