[wp-trac] [WordPress Trac] #23480: Do Not Allow Negative IDs in wp_set_auth_cookie()

WordPress Trac noreply at wordpress.org
Fri Feb 15 22:54:48 UTC 2013


#23480: Do Not Allow Negative IDs in wp_set_auth_cookie()
--------------------------+------------------
 Reporter:  mordauk       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.6
Component:  Users         |     Version:  2.5
 Severity:  major         |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------
Changes (by SergeyBiryukov):

 * version:  3.5.1 => 2.5


Comment:

 `abs( intval( $user_id ) )` was added in [6180]. Changed to `absint()` in
 [6682].

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23480#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list