[wp-trac] [WordPress Trac] #42261: Add Support for No Limit Queries to 'posts_per_rss' .
WordPress Trac
noreply at wordpress.org
Fri Oct 4 19:24:44 UTC 2024
#42261: Add Support for No Limit Queries to 'posts_per_rss' .
--------------------------------------------+-----------------------------
Reporter: ohryan | Owner: (none)
Type: enhancement | Status: closed
Priority: normal | Milestone: Future Release
Component: Feeds | Version: 4.8.2
Severity: normal | Resolution: wontfix
Keywords: has-patch has-unit-tests close | Focuses:
--------------------------------------------+-----------------------------
Changes (by ohryan):
* keywords: has-patch has-unit-tests => has-patch has-unit-tests close
* status: new => closed
* resolution: => wontfix
Comment:
Closing this old ticket.
The documentation
(https://developer.wordpress.org/reference/classes/wp_query/#pagination-
parameters) currently suggests using `pre_option_posts_per_rss` to
override the limit with `PHP_INT_MAX` to get all posts.
Additionally, I am concerned that removing the `$q['nopaging'] = false;`
technically breaks backcompat, as it would lead to unexpected results if
`nopaging` set to `true` in the query args.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42261#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list