Make WordPress Core

Ticket #9079: 9079.diff

File 9079.diff, 647 bytes (added by mdawaffe, 16 years ago)
  • wp-includes/functions.php

     
    26562656}
    26572657
    26582658/**
    2659  * Converts value to positive integer.
     2659 * Converts value to nonnegative integer.
    26602660 *
    26612661 * @since 2.5.0
    26622662 *
    2663  * @param mixed $maybeint Data you wish to have convered to an absolute integer
    2664  * @return int An absolute integer
     2663 * @param mixed $maybeint Data you wish to have convered to a nonnegative integer
     2664 * @return int A nonnegative integer
    26652665 */
    26662666function absint( $maybeint ) {
    26672667        return abs( intval( $maybeint ) );