[wp-trac] [WordPress Trac] #27606: "Add Existing User" form does not preserve input in case of an error
WordPress Trac
noreply at wordpress.org
Thu May 8 19:30:22 UTC 2014
#27606: "Add Existing User" form does not preserve input in case of an error
--------------------------------+------------------------------
Reporter: SergeyBiryukov | Owner:
Type: defect (bug) | Status: new
Priority: low | Milestone: Awaiting Review
Component: Networks and Sites | Version:
Severity: minor | Resolution:
Keywords: has-patch | Focuses: multisite
--------------------------------+------------------------------
Changes (by boonebgorges):
* keywords: => has-patch
Comment:
27606.patch fixes the issue.
The case of Network Admin > Add New User was straightforward. The case of
Multisite > Add New User was a bit different, because a `wp_redirect()`
takes place after the error, which means we lose the values submitted in
`$_POST`. I've opted to add them as URL parameters when redirecting.
> when autocomplete is in use, we really should only allow selection of an
option and not the submission of freeform typing
Yes, but that's a bigger fish to fry, so I wrote a fix for the current
implementation.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27606#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list