Make WordPress Core

Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#2248 closed defect (bug) (duplicate)

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

Reported by: wubbahed Owned by:
Milestone: Priority: normal
Severity: minor Version: 2.0
Component: Template Keywords:
Focuses: Cc:


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 (2)

#1 @skippy
12 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

Sounds like #2211.

#2 @(none)
11 years ago

  • Milestone 2.0.1 deleted

Milestone 2.0.1 deleted

Note: See TracTickets for help on using tickets.