[wp-trac] [WordPress Trac] #53443: The value of the `post_count` meta field is wrong because it doesn't get decremented when a post is deleted

WordPress Trac noreply at wordpress.org
Thu Nov 18 13:59:58 UTC 2021


#53443: The value of the `post_count` meta field is wrong because it doesn't get
decremented when a post is deleted
--------------------------------------+------------------------
 Reporter:  henry.wright              |       Owner:  audrasjb
     Type:  defect (bug)              |      Status:  assigned
 Priority:  normal                    |   Milestone:  5.9
Component:  Posts, Post Types         |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  multisite
--------------------------------------+------------------------

Comment (by audrasjb):

 @henrywright @pbearne I added a new PR to rename the new unit test file
 from `update_posts_count.php` to `updatePostsCount.php` for better
 consistency with the other test files in this folder.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53443#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list