[wp-trac] [WordPress Trac] #40696: no chance to control wp_count_terms ()

WordPress Trac noreply at wordpress.org
Fri Feb 14 11:14:06 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:
--------------------------------------+-----------------------------
Changes (by amitkumarsingh):

 * keywords:  good-first-bug => good-first-bug has-patch


Comment:

 Added a filter to modify the arguments of wp_count_terms. Similar to above
 solution but I think having a filter name like wp_count_terms_args would
 make more sense.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/40696#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list