Changeset 24316
- Timestamp:
- 05/22/2013 06:14:37 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/capabilities.php
r23358 r24316 536 536 if ( ! is_numeric( $value ) ) 537 537 return false; 538 $value = absint( $value ); 538 $value = intval( $value ); 539 if ( $value < 1 ) 540 return false; 539 541 } else { 540 542 $value = trim( $value );
Note: See TracChangeset
for help on using the changeset viewer.