[wp-trac] [WordPress Trac] #36399: Change function signature of `wp_count_terms()` to be comliant with recent `get_terms()` changes
WordPress Trac
noreply at wordpress.org
Fri Apr 1 15:32:08 UTC 2016
#36399: Change function signature of `wp_count_terms()` to be comliant with recent
`get_terms()` changes
-------------------------+-----------------------------
Reporter: flixos90 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: trunk
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
In #35495 the `$taxonomy` parameter of `get_terms()` was made optional,
thus changing the function signature to the first parameter being the
`$args` array where the taxonomy (if needed) could then be added to.
This ticket is about changing the signature of `wp_count_terms()` in a
similar manner. This will bring more consistency and it will also allow to
count all terms entirely (if no taxonomy is provided).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36399>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list