Opened 15 years ago
Closed 15 years ago
#13884 closed defect (bug) (worksforme)
wrong post count
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.9.2 |
Component: | Multisite | Keywords: | |
Focuses: | Cc: |
Description
When moving post to trash or delete, wpmu dosn't call update_posts_count
fix:
add to wp-includes/wpmu-defaul-filters.php
add_action ( 'delete_post', 'update_posts_count' );
add_action ( 'trash_post', 'update_posts_count' );
Change History (4)
Note: See
TracTickets for help on using
tickets.
I've been running several WP networks & have not seen any post count inconsistencies. Calling this one fixed.
If someone encounters the issue in 3.0 and has steps to reproduce, please reopen.