[wp-trac] [WordPress Trac] #22858: wp_update_user() does not check the return of get_userdata() before calling to_array()
WordPress Trac
noreply at wordpress.org
Thu Dec 20 02:09:32 UTC 2012
#22858: wp_update_user() does not check the return of get_userdata() before calling
to_array()
-----------------------------------------------+--------------------
Reporter: ryan | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.5.1
Component: Users | Version: 3.5
Severity: normal | Resolution:
Keywords: has-patch commit needs-unit-tests |
-----------------------------------------------+--------------------
Comment (by georgestephanis):
+1
We're keeping with the existing documentation that it will return the ID
or an error. I support this change, and don't anticipate it will
negatively affect many plugins.
That's why plugin authors test using release candidates, ''riiiight?''
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22858#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list