Changeset 48960
- Timestamp:
- 09/09/2020 02:33:22 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-query.php
r48816 r48960 760 760 } 761 761 762 if ( ! is_scalar( $qv['p'] ) || $qv['p'] < 0 ) {762 if ( ! is_scalar( $qv['p'] ) || (int) $qv['p'] < 0 ) { 763 763 $qv['p'] = 0; 764 764 $qv['error'] = '404';
Note: See TracChangeset
for help on using the changeset viewer.