Documentation correction: absint(), props mdawaffe, fixes #9079
git-svn-id: http://svn.automattic.com/wordpress/trunk@10540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
35002bde5f
commit
48d47bee32
|
@ -2658,12 +2658,12 @@ function dead_db() {
|
|||
}
|
||||
|
||||
/**
|
||||
* Converts value to positive integer.
|
||||
* Converts value to nonnegative integer.
|
||||
*
|
||||
* @since 2.5.0
|
||||
*
|
||||
* @param mixed $maybeint Data you wish to have convered to an absolute integer
|
||||
* @return int An absolute integer
|
||||
* @param mixed $maybeint Data you wish to have convered to an nonnegative integer
|
||||
* @return int An nonnegative integer
|
||||
*/
|
||||
function absint( $maybeint ) {
|
||||
return abs( intval( $maybeint ) );
|
||||
|
|
Loading…
Reference in New Issue