Make WordPress Core

Opened 13 years ago

Closed 11 years ago

Last modified 11 years ago

#19192 closed defect (bug) (wontfix)

Wrong term count for private posts

Reported by: xknown's profile xknown Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Taxonomy Keywords:
Focuses: Cc:

Description

The term manager page (wp-admin/edit-tags.php) shows wrong counts when the terms contain private posts.

Steps to reproduce:

  • Create a private post and assign it to a category or a tag.
  • Visit the wp-admin/edit-tags.php

The term count does not change. However, when you click on the posts column, the edit posts screen will correctly show the private post.

Change History (3)

#1 @nacin
13 years ago

  • Keywords close added

Term counts are not calculated on the fly. Rather, only published posts count here, and they are stored with the term. See _update_post_term_count(). Known limitation, unfortunately.

#2 @c3mdigital
11 years ago

  • Keywords close removed
  • Resolution set to wontfix
  • Status changed from new to closed

See comment:1

#3 @SergeyBiryukov
11 years ago

  • Component changed from General to Taxonomy
  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.