Changeset 37324 for trunk/src/wp-includes/query.php
- Timestamp:
- 04/29/2016 01:14:18 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/query.php
r37281 r37324 1594 1594 $qv['day'] = absint($qv['day']); 1595 1595 $qv['w'] = absint($qv['w']); 1596 $qv['m'] = preg_replace( '|[^0-9]|', '', $qv['m'] );1596 $qv['m'] = is_scalar( $qv['m'] ) ? preg_replace( '|[^0-9]|', '', $qv['m'] ) : ''; 1597 1597 $qv['paged'] = absint($qv['paged']); 1598 1598 $qv['cat'] = preg_replace( '|[^0-9,-]|', '', $qv['cat'] ); // comma separated list of positive or negative integers
Note: See TracChangeset
for help on using the changeset viewer.