[wp-trac] [WordPress Trac] #26962: in wp-admin/profile.php no restoration filled if an error occurs fields.
WordPress Trac
noreply at wordpress.org
Sun Feb 2 05:59:16 UTC 2014
#26962: in wp-admin/profile.php no restoration filled if an error occurs fields.
-------------------------+------------------------------
Reporter: QuarkSEO | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version: 2.0
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
-------------------------+------------------------------
Changes (by SergeyBiryukov):
* keywords: => needs-patch
* version: 3.8 => 2.0
* component: Administration => Users
Comment:
Confirmed.
`edit_user()` doesn't update anything if there's an error in username,
e-mail, or password, so the data entered in other fields is lost. It
should probably unset the ones with errors (to prevent them from being
saved), but still save the others.
`user-new.php` just displays the values from `$_POST` (the user is not
created yet), so the "Add New User" screen doesn't have this issue.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26962#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list