[wp-trac] [WordPress Trac] #14290: register_new_user() can't handle WP_Error result from wp_create_user()
WordPress Trac
wp-trac at lists.automattic.com
Thu Jan 13 21:22:32 UTC 2011
#14290: register_new_user() can't handle WP_Error result from wp_create_user()
--------------------------+-----------------------------
Reporter: coffee2code | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Users | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+-----------------------------
Changes (by mdawaffe):
* milestone: Awaiting Review => Future Release
Comment:
Looks like wp_insert_user() could in theory still return 0, so the check
should be for {{{!$user_id || is_wp_error( $user_id )}}}.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14290#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list