Ticket #2248 (closed defect (bug): duplicate)

Opened 6 years ago

Last modified 5 years ago

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

Reported by: wubbahed Owned by: 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

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

Sounds like #2211.

  • Milestone 2.0.1 deleted

Milestone 2.0.1 deleted

Note: See TracTickets for help on using tickets.