Make WordPress Core

Opened 8 years ago

Last modified 14 months ago

#14076 closed defect (bug)

Misleading post count on taxonomy screen — at Version 3

Reported by: bunnykins Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords:
Focuses: Cc:

Description (last modified by scribu)

When you create a custom post type that supports categories and create some entries in the post type and have them in that category and then click on the category it shows no entries.

More info here http://wordpress.org/support/topic/415091.

Change History (3)

#1 @bunnykins
8 years ago

I discovered a work around by mistake. The work around is to make the entry as both a normal post type and then the newly created post type and boom it fixes it. Well sort of. Creating an entry twice to get categories and tags to work for post types seems silly.

#2 @scribu
8 years ago

  • Description modified (diff)

The problem is that the counts you see on the categories page is

#3 @scribu
8 years ago

  • Description modified (diff)
  • Milestone changed from Unassigned to 3.1
  • Severity changed from critical to major
  • Summary changed from custom post types and catagories and tags to Misleading post count on taxonomy screen

The problem is that the post count is global accross all post types. It should be restricted to the current post type.

Note: See TracTickets for help on using tickets.