[wp-trac] [WordPress Trac] #15919: wp_count_terms() hide_empty not working
WordPress Trac
noreply at wordpress.org
Sat Sep 21 16:47:45 UTC 2013
#15919: wp_count_terms() hide_empty not working
---------------------------------+--------------------------
Reporter: zeo | Owner: markjaquith
Type: defect (bug) | Status: closed
Priority: high | Milestone: 3.7
Component: Taxonomy | Version:
Severity: major | Resolution: fixed
Keywords: has-patch 3.7-early |
---------------------------------+--------------------------
Changes (by wonderboymusic):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"25551"]:
{{{
#!CommitTicketReference repository="" revision="25551"
Ensure that terms with a post count of `0` are not returned in
`wp_count_terms()` when `hide_empty => true`. Adds unit test which ensures
that `wp_count_terms()` returns `0`.
Props markjaquith.
Fixes #15919.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15919#comment:12>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list