[wp-trac] Re: [WordPress Trac] #4762: new function: absint()
WordPress Trac
wp-trac at lists.automattic.com
Tue Jan 29 19:18:17 GMT 2008
#4762: new function: absint()
--------------------------+-------------------------------------------------
Reporter: markjaquith | Owner: markjaquith
Type: enhancement | Status: reopened
Priority: normal | Milestone: 2.5
Component: Security | Version: 2.3
Severity: normal | Resolution:
Keywords: int security |
--------------------------+-------------------------------------------------
Comment (by ruckus):
The absint() function doesn't exist this early, so need to use
abs(intval()).
While there, made both sides of the comparison to use abs(intval()) for
identical treatment of the non-integer values (e.g. 8M or 32M).
--
Ticket URL: <http://trac.wordpress.org/ticket/4762#comment:9>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list