absint paged
git-svn-id: https://develop.svn.wordpress.org/trunk@11606 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9f59a3f223
commit
3a24e23c5c
@ -1234,6 +1234,7 @@ class WP_Query {
|
||||
$qv['day'] = absint($qv['day']);
|
||||
$qv['w'] = absint($qv['w']);
|
||||
$qv['m'] = absint($qv['m']);
|
||||
$qv['paged'] = absint($qv['paged']);
|
||||
$qv['cat'] = preg_replace( '|[^0-9,-]|', '', $qv['cat'] ); // comma separated list of positive or negative integers
|
||||
$qv['pagename'] = trim( $qv['pagename'] );
|
||||
$qv['name'] = trim( $qv['name'] );
|
||||
|
Loading…
x
Reference in New Issue
Block a user