[wp-trac] [WordPress Trac] #61097: Filter `wp_count_posts()` query before execution to avoid slow query
WordPress Trac
noreply at wordpress.org
Wed May 8 16:13:59 UTC 2024
#61097: Filter `wp_count_posts()` query before execution to avoid slow query
-------------------------------+------------------------------
Reporter: rcorrales | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 6.5
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: performance
-------------------------------+------------------------------
Changes (by johnbillion):
* keywords: => needs-patch
* component: Query => Posts, Post Types
Comment:
@rcorrales Thank you for the ticket!
This was briefly discussed during the performance team chat today and we
agreed to add a filter for this query. Would you like to open a separate
ticket for discussing the improvement to the query itself? That will need
further discussion, unit test coverage, and performance reports. Thanks!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61097#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list