[wp-trac] [WordPress Trac] #57023: _update_posts_count_on_delete() is still called incorrectly
WordPress Trac
noreply at wordpress.org
Mon Nov 7 20:53:33 UTC 2022
#57023: _update_posts_count_on_delete() is still called incorrectly
-------------------------------+-----------------------------
Reporter: SergeyBiryukov | Owner: SergeyBiryukov
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 6.2
Component: Posts, Post Types | Version: 5.9
Severity: normal | Resolution:
Keywords: has-patch | Focuses: multisite
-------------------------------+-----------------------------
Comment (by SergeyBiryukov):
In [changeset:"54762" 54762]:
{{{
#!CommitTicketReference repository="" revision="54762"
Tests: Restore blog switching in `update_posts_count()` test.
The previous iteration of the test passed when run in isolation but failed
when running the whole test suite.
Restoring the `switch_to_blog()` call allows the test to pass again
pending a deeper investigation.
Follow-up to [54760].
See #57023.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57023#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list