#2248 closed defect (bug) (duplicate)
inconsistent number of posts in wp_list_cats() and wp_get_archives()
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| 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 (2)
Note: See
TracTickets for help on using
tickets.
Sounds like #2211.