Ticket #2248 (closed defect: duplicate)

Opened 3 years ago

Last modified 2 years ago

inconsistent number of posts in wp_list_cats() and wp_get_archives()

Reported by: wubbahed Assigned to: anonymous
Priority: normal Milestone:
Component: Template Version: 2.0
Severity: minor Keywords:
Cc:

Description

If you show the number of posts in each category using wp_list_cats() like this: wp_list_cats('optioncount=1') then the number displayed includes future posts.

If you show the number of posts in each month of an archive using wp_get_archives() like this: wp_get_archives('type=monthly&show_post_count=1'); then the number displayed does NOT include future posts

Shouldn't wp_list_cats() exclude future posts as well? At the very least, both functions should be consistent with each other.

Change History

01/10/06 02:47:36 changed by skippy

  • status changed from new to closed.
  • resolution set to duplicate.

Sounds like #2211.

11/30/06 19:41:49 changed by

  • milestone deleted.

Milestone 2.0.1 deleted