[wp-trac] [WordPress Trac] #28315: update_user_meta() updates user with ID1 if WP_Error is passed as first argument
WordPress Trac
noreply at wordpress.org
Fri Aug 1 18:52:39 UTC 2014
#28315: update_user_meta() updates user with ID1 if WP_Error is passed as first
argument
--------------------------------+-----------------------------
Reporter: javorszky | Owner: wonderboymusic
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.0
Component: Options, Meta APIs | Version: 3.9.1
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: closed => reopened
* resolution: fixed =>
Comment:
[attachment:28315.2.diff] does this check consistently for all meta
functions, makes the validation code more readable (to avoid confusions
like #23089), and adds more unit tests.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28315#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list