[wp-trac] [WordPress Trac] #41314: If the required fields are not save on user save, every field's value will be dropped

WordPress Trac noreply at wordpress.org
Sat Jul 22 03:32:58 UTC 2017


#41314: If the required fields are not save on user save, every field's value will
be dropped
-------------------------------------+-------------------------------------
 Reporter:  jackjohansson            |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Users                    |     Version:  4.8
 Severity:  normal                   |  Resolution:
 Keywords:  needs-patch good-first-  |     Focuses:  javascript,
  bug                                |  administration
-------------------------------------+-------------------------------------

Comment (by jackjohansson):

 I've added the initial patch for this bug. It checks nickname and password
 in the by jQuery, and the email by AJAX.

 Currently it has a bug, you need to click the submit button twice if all
 of the fields are valid. There is most likely some other handler
 interfering, as this bug doesn't exist in a JSFiddle version of this
 patch.

 If anyone has a moment to try it out, their feedback will be greatly
 appreciated.

 @swissspidy @SergeyBiryukov @psykro @afercia

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41314#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list