Make WordPress Core

Opened 14 years ago

Closed 14 years ago

#13884 closed defect (bug) (worksforme)

wrong post count

Reported by: vamp1rus's profile vamp1rus 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)

#1 @nacin
14 years ago

  • Component changed from General to Multisite
  • Milestone changed from MU 2.9.x to Future Release

#2 @wpmuguru
14 years ago

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

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.

#3 @nacin
14 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

#4 @nacin
14 years ago

  • Milestone Future Release deleted
  • Resolution set to worksforme
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.