[wp-trac] [WordPress Trac] #7092: Should support separate setting for limiting comments feed

WordPress Trac wp-trac at lists.automattic.com
Sat Nov 14 01:27:01 UTC 2009


#7092: Should support separate setting for limiting comments feed
-------------------------+--------------------------------------------------
 Reporter:  redsweater   |        Owner:  anonymous
     Type:  enhancement  |       Status:  reopened 
 Priority:  normal       |    Milestone:           
Component:  Feeds        |      Version:           
 Severity:  normal       |   Resolution:           
 Keywords:  needs-patch  |  
-------------------------+--------------------------------------------------

Comment(by lapcat):

 scribu, here's the little hack I did in wp-includes/query.php:

 {{{
 -                               $climits =
 apply_filters('comment_feed_limits', 'LIMIT ' .
 get_option('posts_per_rss'));
 +                               $climits =
 apply_filters('comment_feed_limits', 'LIMIT 100');

 -                       $climits = apply_filters('comment_feed_limits',
 'LIMIT ' . get_option('posts_per_rss'));
 +                       $climits = apply_filters('comment_feed_limits',
 'LIMIT 100');
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/7092#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list