[wp-trac] [WordPress Trac] #27317: Update wp_insert_user function to return 'pre_user_login' filter WP_Errors

WordPress Trac noreply at wordpress.org
Mon Mar 10 11:35:29 UTC 2014


#27317: Update wp_insert_user function to return 'pre_user_login' filter WP_Errors
------------------------------------+-----------------------------
 Reporter:  crazycoolcam            |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Future Release
Component:  Users                   |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+-----------------------------

Comment (by crazycoolcam):

 Hi Daniel,
 Thank you for the updated patch.

 I agree, the current code isn't very DRY in this area. It would make sense
 to simplify this (at least the validation checks) under one, maybe two,
 functions.

 ~Cam

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


More information about the wp-trac mailing list