Changeset 59242
- Timestamp:
- 10/15/2024 11:39:38 PM (4 months ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r59192 r59242 5478 5478 5479 5479 /** 5480 * Converts a value to non-negative integer.5481 *5482 * @since 2.5.05483 *5484 * @param mixed $maybeint Data you wish to have converted to a non-negative integer.5485 * @return int A non-negative integer.5486 */5487 function absint( $maybeint ) {5488 return abs( (int) $maybeint );5489 }5490 5491 /**5492 5480 * Marks a function as deprecated and inform when it has been used. 5493 5481 * -
trunk/src/wp-includes/load.php
r59189 r59242 1430 1430 1431 1431 /** 1432 * Converts a value to non-negative integer. 1433 * 1434 * @since 2.5.0 1435 * 1436 * @param mixed $maybeint Data you wish to have converted to a non-negative integer. 1437 * @return int A non-negative integer. 1438 */ 1439 function absint( $maybeint ) { 1440 return abs( (int) $maybeint ); 1441 } 1442 1443 /** 1432 1444 * Retrieves the current site ID. 1433 1445 *
Note: See TracChangeset
for help on using the changeset viewer.