Ignore nopaging for feeds.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2793b9dafe
commit
4d72cff3fe
|
@ -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…
Reference in New Issue