Make WordPress Core

Opened 18 years ago

Closed 17 years ago

#9715 closed defect (bug) (duplicate)

Category List in a drop down does not pad term counts

Reported by: CTassisF Owned by: markjaquith
Priority: low Milestone:
Component: Template Version: 2.7.1
Severity: minor Keywords: has-patch
Cc: Focuses:

Description

Hello.
I am using WordPress 2.7.1.
I have a blog with many categories, subcategories, sub-subcategories etc. When I post, I link that post only to the last sub-subcategory available.
The issue is: Sometimes, WordPress does not consider a post linked to a subcategory as a post of the mother category of that subcategory. As it does not count a post linked to a subcategory as a post of the mother category, some plugins hide that category because it is apparently empty.
Look at this pictures so you'll be able to understand what I am saying:
​http://cesar.z0p.org/CategoryList1.PNG
​http://cesar.z0p.org/CategoryList2.PNG
I was using the official WordPress category list widget plugin on both of them.
Could you please fix that?
Thanks in advance.
César

Attachments (3)

Category List 1.PNG​ (15.6 KB ) - added by CTassisF 18 years ago.
Category List 2.PNG​ (18.8 KB ) - added by CTassisF 18 years ago.
9715.diff​ (636 bytes ) - added by scohoust 17 years ago.

Download all attachments as: .zip

Change History (10)

#1 @thee17
18 years ago

  • Milestone 2.7.2 → Future Release

#2 @Denis-de-Bernardy
18 years ago

  • Component General → Template
  • Summary Category List Issue → Category List in a drop down does not pad term counts

#3 @Denis-de-Bernardy
17 years ago

  • Keywords needs-patch added
  • Priority normal → low
  • Severity normal → minor

#4 @Denis-de-Bernardy
17 years ago

  • Milestone Future Release → 2.9

#5 @scohoust
17 years ago

  • Keywords has-patch added; needs-patch removed

Patch adds pad counts to drop down function similar to that in wp_list_categories.

#6 @markjaquith
17 years ago

  • Milestone 2.9 → 3.0
  • Owner changed from anonymous to markjaquith
  • Status new → reviewing

Will review for 3.0

#7 @dd32
17 years ago

  • Milestone 3.0
  • Resolution → duplicate
  • Status reviewing → closed

See: [11981] Pad counts in wp_dropdown_categories. Props mtdewvirus. fixes #10870

Note: See TracTickets for help on using tickets.