[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
Thu Oct 4 02:15:27 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 has-patch |
-----------------------------+------------------------------
Comment (by stephenh1988):
Would be great to see this patch implemented.
Note @xknown's workaround will not work. At the same $q['posts_per_page']
is over-ridden by the RSS option, it sets the 'nopaging' to false. The
upshot is that the LIMIT part of the query is still included, but with a
'-1' - causing an error.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17853#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list