[wp-trac] [WordPress Trac] #13317: Code Impriovement in get_userdata

WordPress Trac wp-trac at lists.automattic.com
Sun May 16 02:07:23 UTC 2010


#13317: Code Impriovement in get_userdata
------------------------------------+---------------------------------------
 Reporter:  hakre                   |        Owner:          
     Type:  defect (bug)            |       Status:  reopened
 Priority:  high                    |    Milestone:  3.0     
Component:  Security                |      Version:          
 Severity:  major                   |   Resolution:          
 Keywords:  has-patch dev-feedback  |  
------------------------------------+---------------------------------------
Changes (by hakre):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 Putting it into deprecated really got over the top. The usage as callback
 I have not checked, my fault.

 But that does not make the overexagerated usage of absint() all over the
 place better.

 I think you're in the 'why not' spread absint() all over the place  "just
 because we can" camp. I do not share both points. Wether the why not nor
 the all over the place. You must really misread me.

 I'll reopen, add (int) to where it is fit at least. But it might be even
 too much for you, because you use intval() just because you can, right?
 and yes, why not .... .

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


More information about the wp-trac mailing list