[wp-trac] [WordPress Trac] #31959: New user is created even when errors in custom registration fields are returned.

WordPress Trac noreply at wordpress.org
Mon Apr 13 09:00:29 UTC 2015


#31959: New user is created even when errors in custom registration fields are
returned.
--------------------------------------+-----------------------------
 Reporter:  michalrusina              |      Owner:
     Type:  defect (bug)              |     Status:  new
 Priority:  normal                    |  Milestone:  Awaiting Review
Component:  Users                     |    Version:  4.1.1
 Severity:  normal                    |   Keywords:
  Focuses:  administration, template  |
--------------------------------------+-----------------------------
 As per documentation
 [https://codex.wordpress.org/Plugin_API/Filter_Reference/registration_errors]
 there shouldnt be created new user if any errors are returned.

 Ive added some custom registration fields, validated them and errors are
 successfully displayed, but the user is created. This happens only on
 custom fields, if i leave the default ones empty, they return errors and
 do not crerate new user.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31959>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list