[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
Thu Jul 13 18:19:06 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):

 Replying to [comment:1 swissspidy]:
 > This could be as simple as using the  `validateForm()` JavaScript
 function available in WordPress.

 Thanks for the reply.

 However, shouldn't this be a part of the core by default? There's no point
 in submitting a form that lacks required fields.

 It would make some sense if the form was properly saved, but it's just
 submitted in order to trigger an error.

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


More information about the wp-trac mailing list