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

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 6 16:08:23 UTC 2010


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

Comment(by nacin):

 Replying to [comment:21 redsweater]:
 > Hi nacin - I installed and tested your patch and it seems to do what I
 was requesting. Thank you!
 >
 > One question: I notice you added something to schema.php that appears to
 incorporate the posts_per_rss as the default value for comments_per_rss.
 When does this get applied? Is this something that will get automatically
 set up when a database upgrade occurs?

 If this gets committed, the core dev making the commit will bump the
 $wp_db_version global in wp-includes/version.php to the latest revision
 number. This will force a database upgrade which will run the schema and
 add the new option.

 To test this, delete the comments_per_rss option from your options table,
 then increase the $wp_db_version global by 1. On load, you'll get an
 "upgrade required" screen and the default value should be applied.

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


More information about the wp-trac mailing list