[wp-trac] [WordPress Trac] #12533: Parent term count
WordPress Trac
wp-trac at lists.automattic.com
Sun Mar 7 01:36:00 UTC 2010
#12533: Parent term count
-----------------------------+----------------------------------------------
Reporter: jfarthing84 | Owner: filosofo
Type: defect (bug) | Status: new
Priority: highest omg bbq | Milestone: 3.0
Component: Taxonomy | Version: 3.0
Severity: blocker | Keywords: dev-feedback
-----------------------------+----------------------------------------------
Comment(by dd32):
> Thanks. You will also have to add the 'hide_empty=>false' flag to the
is_tax section og WP_Query::get_queried_object().
The changeset doesnt show it very well, but thats where it is.
> Hierarchical term parents (including categories) count stays at 0 when
using child terms.
This depends on if the arg 'pad_counts' is set or not, By default, its
not. Where are you seeing it not being reported correctly?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12533#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list