Ticket #16974: 16974.3.patch
| File 16974.3.patch, 364 bytes (added by , 15 years ago) |
|---|
-
functions.php
3250 3250 * @return int An nonnegative integer 3251 3251 */ 3252 3252 function absint( $maybeint ) { 3253 if ( ! is_numeric( trim( $maybeint ) ) ) { 3254 return 0; 3255 } 3253 3256 return abs( intval( $maybeint ) ); 3254 3257 } 3255 3258