[wp-trac] [WordPress Trac] #40404: Slow queries with a large number of posts (tens of thousands and above)
WordPress Trac
noreply at wordpress.org
Wed Feb 12 16:19:11 UTC 2025
#40404: Slow queries with a large number of posts (tens of thousands and above)
-------------------------+--------------------------
Reporter: xrayboy | Owner: (none)
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Query | Version: 4.7.3
Severity: normal | Resolution: wontfix
Keywords: | Focuses: performance
-------------------------+--------------------------
Changes (by swissspidy):
* status: new => closed
* resolution: => wontfix
* milestone: Awaiting Review =>
Comment:
This was just discussed in a bug scrub.
Loading that many posts at once is not really a recommended practice, but
of course can be done with the right precautions.
As per the linked support topic, the `query` hook can be used to modify
queries if needed.
Closing as wontfix though as I don't see core doing anything here in this
regard, and the "patch" above seems like a project-specific
hack/workaround.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40404#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list