[wp-trac] [WordPress Trac] #25745: Update user with wp_insert_user reset first and last name
WordPress Trac
noreply at wordpress.org
Tue Oct 29 01:22:44 UTC 2013
#25745: Update user with wp_insert_user reset first and last name
------------------------------------+-----------------------
Reporter: sudoku1 | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.8
Component: Inline Docs | Version: 2.5
Severity: normal | Resolution:
Keywords: has-patch dev-feedback |
------------------------------------+-----------------------
Changes (by SergeyBiryukov):
* keywords: dev-feedback needs-docs => has-patch dev-feedback
* version: 3.6.1 => 2.5
* component: General => Inline Docs
* milestone: => 3.8
Comment:
The current docs (introduced in [6564]) might create an impression that
`wp_insert_user()` and `wp_update_user()` are somewhat interchangeable.
Related: #16731.
We should make it clear that `wp_insert_user()` should only be used for
inserting a new user, and `wp_update_user()` should be used for updating
an existing user.
[attachment:25745.patch] removes some comments along the lines of [24345].
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25745#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list