[wp-trac] [WordPress Trac] #30250: Add filter for query used in `wp_count_posts()`
WordPress Trac
noreply at wordpress.org
Tue Nov 4 18:05:00 UTC 2014
#30250: Add filter for query used in `wp_count_posts()`
-------------------------------+----------------------------------------
Reporter: danielbachhuber | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Posts, Post Types | Version:
Severity: normal | Keywords: needs-patch good-first-bug
Focuses: |
-------------------------------+----------------------------------------
Use case: if my list table is filtering to a specific taxonomy term, I'd
like my view counts to reflect that filter.
The existing filter added in #16603 still means I need a lot of duplicate
code, and two queries.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30250>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list