[wp-trac] [WordPress Trac] #13317: Code Impriovement in get_userdata
WordPress Trac
wp-trac at lists.automattic.com
Sat May 15 23:41:14 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 |
------------------------------------+---------------------------------------
Comment(by hakre):
the absint() function is useless while casting is taken into account.
therefore deprecate it and teach users a better way to use: {{{abs( (int)
$var );}}}.
Related: #4762
I'll add another one that will get grip on needless intval() usage.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13317#comment:19>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list