Opened 15 years ago
Closed 14 years ago
#8350 closed defect (bug) (fixed)
_pad_term_counts not availabe to custom hierarchical taxonomies
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.8 | Priority: | normal |
Severity: | normal | Version: | 2.7 |
Component: | Taxonomy | Keywords: | has-patch tested commit |
Focuses: | Cc: |
Description
It seems like _pad_term_counts might be useful for custom hierarchical taxonomies. Instead of checking for the category taxonomy, as the function does now:
// This function only works for post categories. if ( 'category' != $taxonomy ) return;
it seems it'd be more useful to check if the taxonomy is hiearchical:
// This function only works for hierarchical taxonomies. if ( !is_taxonomy_hierarchical( $taxonomy ) ) return;
Attachments (1)
Change History (6)
#1
@
14 years ago
- Component changed from General to Taxonomy
- Keywords needs-patch added; taxonomy pad_count custom pad_term_counts removed
- Milestone set to 2.8
- Owner changed from anonymous to ryan
- Version set to 2.7
Note: See
TracTickets for help on using
tickets.
[11260]