[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
Wed Aug 6 22:07:43 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: closed
Priority: normal | Milestone: 4.0
Component: Options, Meta APIs | Version: 3.9.1
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses:
--------------------------------+-----------------------------
Changes (by wonderboymusic):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"29421"]:
{{{
#!CommitTicketReference repository="" revision="29421"
After [29339] and [29341], add more unit tests and less ambiguous type-
checking before bailing in meta-related functions that expect a numeric
value for `$object_id`.
Props SergeyBiryukov.
Fixes #28315.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28315#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list