Ignore nopaging for feeds.

git-svn-id: http://svn.automattic.com/wordpress/trunk@4618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2006-12-06 23:14:37 +00:00
parent 2793b9dafe
commit 4d72cff3fe
1 changed files with 1 additions and 0 deletions

View File

@ -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 )