Opened 4 years ago
Last modified 3 years ago
#9875 assigned defect (bug)
Postcount not set for parent in category dropdown.
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | Taxonomy | Version: | 3.0 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | kevinB |
Description
When showing categories in a dropdown with show_count and hierarchical , the parent of the categories won't show the total amount of posts of its children.
When selecting a list this teh total amount is shown.
Attachments (1)
Change History (12)
petervanderdoes — 4 years ago
comment:1
petervanderdoes — 4 years ago
- Keywords has-patch added
- Milestone changed from 2.8 to 2.9
punting per IRC discussion
comment:4
janeforshort — 3 years ago
- Milestone changed from 2.9 to Future Release
No community testing of patch > punting b/c we're in beta.
comment:5
petervanderdoes — 3 years ago
- Keywords has-patch removed
- Version changed from 2.8 to 2.9
Postcount in the dropdown is not the sum of the parent and children.
comment:6
in reply to:
↑ description
hakre — 3 years ago
- Keywords reporter-feedback added
Replying to petervanderdoes:
When showing categories in a dropdown with show_count and hierarchical , the parent of the categories won't show the total amount of posts of its children.
Well, should it? Is this a bug or a enhancement / feature request? Please name the API functions you're experiencing this.
comment:7
petervanderdoes — 3 years ago
- Keywords reporter-feedback removed
It works that way in the wp_list_categories, not in wp_dropdown_categories
- Keywords has-patch added
- Version changed from 2.9 to 3.0
So your suggestion here would streamline the behaviour in wp_dropdown_categroies with wp_list_categories, right?
If so I think this is a good idea to have more consistency between the two.
comment:10
filosofo — 3 years ago
- Owner filosofo deleted
- Status changed from new to assigned
comment:11
kevinB — 3 years ago
- Cc kevinB added

The padcount_in_dropdown patch should fix the bug.