[wp-trac] [WordPress Trac] #21439: Correct wp_update_user() @return value

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 1 13:30:42 UTC 2012


#21439: Correct wp_update_user() @return value
----------------------------+-----------------------
 Reporter:  SergeyBiryukov  |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  3.5
Component:  Inline Docs     |    Version:
 Severity:  normal          |   Keywords:  has-patch
----------------------------+-----------------------
 `wp_update_user()` calls `wp_insert_user()`, which returns a `WP_Error`
 object on failure:
 http://core.trac.wordpress.org/browser/tags/3.4.1/wp-
 includes/user.php#L1249

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21439>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list