[wp-trac] [WordPress Trac] #19531: Wrong error message after correcting an error in username

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 9 11:27:25 UTC 2012


#19531: Wrong error message after correcting an error in username
-------------------------------------------+------------------------------
 Reporter:  wimfeijen                      |       Owner:
     Type:  defect (bug)                   |      Status:  new
 Priority:  normal                         |   Milestone:  Awaiting Review
Component:  General                        |     Version:
 Severity:  normal                         |  Resolution:
 Keywords:  needs-patch 2nd-opinion close  |
-------------------------------------------+------------------------------
Changes (by DrewAPicture):

 * cc: xoodrew@… (added)
 * keywords:  needs-patch => needs-patch 2nd-opinion close


Comment:

 I believe that this is currently expected behavior, clunky as it may be.

 If I'm grasping this correctly, a $_POST error (generated via server-side
 validation) will persist as long as long as one of the four required
 inputs (user_login, email, pass1 or pass2) is empty. This is because the
 asynch validation prevents the form from updating the $_POST data until
 they all hold some kind of value regardless of integrity. E.g., ajax
 checks for a value, server checks for integrity of the value.

 So unless somebody wants to tackle asynchronous server-side $_POST
 validation, I suggest closing as wontfix or maybelater.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19531#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list