#2371 closed defect (bug) (worksforme)
A problem with counting posts
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 2.0 |
| Component: | General | Keywords: | count post has-patch has-unit-tests |
| Focuses: | Cc: |
Description
A problem with counting posts.
The problem refers to counting posts by "WP". The "kubrick" theme next to the link to category shows also the number of posts in the category. There is the same function in the administration panel, in the category managing section. I have one common (default) category for all the posts. Its value varies in those 2 positions. Additionally the statistisc in "dashboard" also shows an incorrect value. The rest of categories are counting correctly.
The error occurs on two different servers that I have checked.
My Weblog: http://diary.savek.info/
Greetings
Peter S. / savek
Change History (6)
#2
@
19 years ago
- Milestone 2.0.1 deleted
- Resolution set to worksforme
- Status changed from new to closed
No update in 8 months. Closing WORKSFORME for now, not tested, based on MichaelH's comment above.
savek, if still an issue with 2.0.4 or trunk please do reopen and I will investigate fruther.
This ticket was mentioned in PR #3419 on WordPress/wordpress-develop by costdev.
3 years ago
#3
- Keywords has-patch has-unit-tests added
Trac ticket:
3 years ago
#6
committed in https://core.trac.wordpress.org/changeset/54421
Problem is likely that the admin panel for Manage Categories calls function cat_rows that is counting both Posts and Pages. If so, that is the same problem reported on 2212 which has a patch.
Can't duplicate the problem savek is reporting where the Dashboard is reporting the incorrect "There are currently x posts..."