From c6ff4d8f99ef7aa5c761407796b9fa376cfcc2c2 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 6 Dec 2006 23:14:37 +0000 Subject: [PATCH] Ignore nopaging for feeds. git-svn-id: https://develop.svn.wordpress.org/trunk@4618 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/query.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-includes/query.php b/wp-includes/query.php index 81e22310b1..92ece54eb8 100644 --- a/wp-includes/query.php +++ b/wp-includes/query.php @@ -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 )