[wp-trac] [WordPress Trac] #42261: Add Support for No Limit Queries to 'posts_per_rss' .
WordPress Trac
noreply at wordpress.org
Fri Aug 24 22:34:17 UTC 2018
#42261: Add Support for No Limit Queries to 'posts_per_rss' .
--------------------------------------+-----------------------------
Reporter: ohryan | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Feeds | Version: 4.8.2
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+-----------------------------
Changes (by mauteri):
* keywords: needs-patch => has-patch has-unit-tests
Comment:
@jorbin @stevenkword I updated the diff and made the filter not a call to
an anonymous function. As far as non-post feeds go, this is not related.
The bug itself was a bug in `get_posts` and setting `posts_per_page` from
`posts_per_rss`, which needed to be checked ''before'' `nopaging` and that
`post_per_page` is equal to `-1`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42261#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list