Ignore nopaging for feeds.
git-svn-id: https://develop.svn.wordpress.org/trunk@4618 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
31f086450e
commit
c6ff4d8f99
@ -609,6 +609,7 @@ class WP_Query {
|
||||
}
|
||||
if ( $this->is_feed ) {
|
||||
$q['posts_per_page'] = get_option('posts_per_rss');
|
||||
$q['nopaging'] = false;
|
||||
}
|
||||
$q['posts_per_page'] = (int) $q['posts_per_page'];
|
||||
if ( $q['posts_per_page'] < -1 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user