[wp-trac] [WordPress Trac] #17853: Posts_per_page=-1 overwritten in query.php if is feed, (An ics feed needs all)

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 8 14:10:21 UTC 2012


#17853: Posts_per_page=-1 overwritten in query.php if is feed, (An ics feed needs
all)
--------------------------+------------------------------
 Reporter:  anmari        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Feeds         |     Version:  3.2
 Severity:  normal        |  Resolution:
 Keywords:  close         |
--------------------------+------------------------------

Comment (by nacin):

 I am not entirely a fan of how this works. An override should be allowable
 without hooking in again. I suggest it also checks whether
 `$q['posts_per_page']` is not set before pulling from posts_per_rss.

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


More information about the wp-trac mailing list