Ticket #9079: 9079.diff
File 9079.diff, 647 bytes (added by , 16 years ago) |
---|
-
wp-includes/functions.php
2656 2656 } 2657 2657 2658 2658 /** 2659 * Converts value to positive integer.2659 * Converts value to nonnegative integer. 2660 2660 * 2661 2661 * @since 2.5.0 2662 2662 * 2663 * @param mixed $maybeint Data you wish to have convered to a n absolute integer2664 * @return int A n absolute integer2663 * @param mixed $maybeint Data you wish to have convered to a nonnegative integer 2664 * @return int A nonnegative integer 2665 2665 */ 2666 2666 function absint( $maybeint ) { 2667 2667 return abs( intval( $maybeint ) );