[wp-trac] [WordPress Trac] #27317: Update wp_insert_user function to return 'pre_user_login' filter WP_Errors
WordPress Trac
noreply at wordpress.org
Fri Mar 7 16:03:52 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: Awaiting Review
Component: Users | Version:
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Changes (by danielbachhuber):
* keywords: => reporter-feedback
* version: 3.8.1 =>
Comment:
Thanks for the patch, crazycoolcam.
Could you describe your use case in a bit more detail? Specifically, I'd
be interested to know why you're blocking certain usernames, and how users
are permitted to enter these usernames in the first place.
You might be able to perform this check higher up the stack, and return an
empty value in `pre_user_login`as the final stop-gap.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27317#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list