Documentation correction: absint(), props mdawaffe, fixes #9079
git-svn-id: https://develop.svn.wordpress.org/trunk@10540 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
072d563198
commit
b3baf2224a
|
@ -2658,12 +2658,12 @@ function dead_db() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Converts value to positive integer.
|
* Converts value to nonnegative integer.
|
||||||
*
|
*
|
||||||
* @since 2.5.0
|
* @since 2.5.0
|
||||||
*
|
*
|
||||||
* @param mixed $maybeint Data you wish to have convered to an absolute integer
|
* @param mixed $maybeint Data you wish to have convered to an nonnegative integer
|
||||||
* @return int An absolute integer
|
* @return int An nonnegative integer
|
||||||
*/
|
*/
|
||||||
function absint( $maybeint ) {
|
function absint( $maybeint ) {
|
||||||
return abs( intval( $maybeint ) );
|
return abs( intval( $maybeint ) );
|
||||||
|
|
Loading…
Reference in New Issue