mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 07:40:07 +00:00
Process posts_per_rss in WP_Query. http://mosquito.wordpress.org/view.php?id=864
git-svn-id: https://develop.svn.wordpress.org/trunk@2299 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -244,6 +244,8 @@ class WP_Query {
|
||||
$q['nopaging'] = false;
|
||||
}
|
||||
}
|
||||
if ( $this->is_feed )
|
||||
$q['posts_per_page'] = get_settings('posts_per_rss');
|
||||
|
||||
$add_hours = intval(get_settings('gmt_offset'));
|
||||
$add_minutes = intval(60 * (get_settings('gmt_offset') - $add_hours));
|
||||
|
||||
Reference in New Issue
Block a user