[wp-trac] [WordPress Trac] #61097: Filter `wp_count_posts()` query before execution to avoid slow query
WordPress Trac
noreply at wordpress.org
Sat Sep 20 15:33:00 UTC 2025
#61097: Filter `wp_count_posts()` query before execution to avoid slow query
-------------------------------------------------+-------------------------
Reporter: rcorrales | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 6.9
Component: Posts, Post Types | Version: 2.5
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests has-test- | Focuses:
info | performance
-------------------------------------------------+-------------------------
Comment (by SirLouen):
Replying to [comment:22 sajjad67]:
> @SirLouen It is hilarious!! Lol!!
Disclaimer: I know that Weston looks like a fun guy, judging by his
conferences. But be aware that not all could handle a little pun here and
there. Caution and moderation at discretion. :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61097#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list