[wp-trac] [WordPress Trac] #40696: no chance to control wp_count_terms ()
WordPress Trac
noreply at wordpress.org
Fri Feb 14 14:16:46 UTC 2020
#40696: no chance to control wp_count_terms ()
--------------------------------------+-----------------------------
Reporter: krizkroz | Owner: (none)
Type: enhancement | Status: reopened
Priority: normal | Milestone: Future Release
Component: Taxonomy | Version: 4.7.4
Severity: normal | Resolution:
Keywords: good-first-bug has-patch | Focuses:
--------------------------------------+-----------------------------
Comment (by ddu66):
Filtering the result give user more control and make wp_count_terms mostly
coherent with wp_count_posts function.
In another hand, I think that filtering args should be done by get_terms
instead of wp_count_terms.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40696#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list