[wp-trac] [WordPress Trac] #23480: Do Not Allow Negative IDs in wp_set_auth_cookie()
WordPress Trac
noreply at wordpress.org
Wed May 22 18:14:38 UTC 2013
#23480: Do Not Allow Negative IDs in wp_set_auth_cookie()
------------------------------+---------------------
Reporter: mordauk | Owner: ryan
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.6
Component: Users | Version: 2.5
Severity: major | Resolution: fixed
Keywords: has-patch commit |
------------------------------+---------------------
Changes (by ryan):
* owner: => ryan
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"24316"]:
{{{
#!CommitTicketReference repository="" revision="24316"
In WP_User::get_data_by(), don't abs int negative IDs. Instead, return
false when an ID less than 1 is passed.
Props nacin, mordauk
fixes #23480
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23480#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list