Feeds should always show x posts, not x days. http://mosquito.wordpress.org/view.php?id=1159
git-svn-id: https://develop.svn.wordpress.org/trunk@2475 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
faed798153
commit
e3aa5de539
@ -249,8 +249,10 @@ class WP_Query {
|
||||
$q['nopaging'] = false;
|
||||
}
|
||||
}
|
||||
if ( $this->is_feed )
|
||||
if ( $this->is_feed ) {
|
||||
$q['posts_per_page'] = get_settings('posts_per_rss');
|
||||
$q['what_to_show'] = 'posts';
|
||||
}
|
||||
|
||||
$add_hours = intval(get_settings('gmt_offset'));
|
||||
$add_minutes = intval(60 * (get_settings('gmt_offset') - $add_hours));
|
||||
|
Loading…
x
Reference in New Issue
Block a user