[wp-trac] [WordPress Trac] #16731: Unchecked array_merge() returns NULL in wp_update_user();
WordPress Trac
wp-trac at lists.automattic.com
Sun Mar 13 08:19:00 UTC 2011
#16731: Unchecked array_merge() returns NULL in wp_update_user();
--------------------------+------------------------------
Reporter: milan.chotai | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version: 3.1
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------------------
Changes (by garyc40):
* keywords: 2nd-opinion reporter-feedback => has-patch
Comment:
adambackstrom's patch still doesn't account for empty `$user_data['ID']`,
some notices are still there. Another patch attached that addresses this.
And yes, the docblock does indeed mention that if an ID key is not
specified, a new user would be created.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16731#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list