wordpress-develop/tests/phpunit/tests/multisite
Jb Audras c25c175b47 Posts, Post Types: Multisite: Decrement post_count option value when a post is deleted.
Previously, the `post_count` option value was not decremented when a post was deleted.

This change moves the `_update_posts_count_on_delete` action from `delete_post` hook to `after_delete_post` to ensure the deletion is taken into account.

Props henry.wright, pbearne, audrasjb.
Fixes #53443.


git-svn-id: https://develop.svn.wordpress.org/trunk@52207 602fd350-edb4-49c9-b593-d223f7449a82
2021-11-18 15:10:18 +00:00
..
avoidBlogPagePermalinkCollision.php Tests: Further improve the tests for avoid_blog_page_permalink_collision(): 2021-09-24 00:29:46 +00:00
bootstrap.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2021-11-04 15:22:47 +00:00
cleanDirsizeCache.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2021-11-04 15:22:47 +00:00
getBlogDetails.php Tests: Rename classes in phpunit/tests/multisite/ per the naming conventions. 2021-09-24 00:45:43 +00:00
getIdFromBlogname.php Tests: Rename classes in phpunit/tests/multisite/ per the naming conventions. 2021-09-24 00:45:43 +00:00
getMainSiteId.php Tests: Rename classes in phpunit/tests/multisite/ per the naming conventions. 2021-09-24 00:45:43 +00:00
getSite.php Tests: Rename classes in phpunit/tests/multisite/ per the naming conventions. 2021-09-24 00:45:43 +00:00
getSpaceAllowed.php Tests: Remove unnecessary setUp() and tearDown() methods in multisite tests. 2021-09-25 01:27:47 +00:00
getSpaceUsed.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2021-11-04 15:22:47 +00:00
isEmailAddressUnsafe.php Code is Poetry. 2017-11-30 23:09:33 +00:00
isUploadSpaceAvailable.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2021-11-04 15:22:47 +00:00
msFilesRewriting.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2021-11-04 15:22:47 +00:00
network.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2021-11-04 15:22:47 +00:00
site.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2021-11-04 15:22:47 +00:00
siteDetails.php Tests: Rename classes in phpunit/tests/multisite/ per the naming conventions. 2021-09-24 00:45:43 +00:00
siteMeta.php Tests: Rename classes in phpunit/tests/multisite/ per the naming conventions. 2021-09-24 00:45:43 +00:00
updateBlogDetails.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2021-11-04 15:22:47 +00:00
updatePostsCount.php Posts, Post Types: Multisite: Decrement post_count option value when a post is deleted. 2021-11-18 15:10:18 +00:00
uploadIsUserOverQuota.php Tests: Remove unnecessary setUp() and tearDown() methods in multisite tests. 2021-09-25 01:27:47 +00:00
wpGetSites.php Tests: Rename classes in phpunit/tests/multisite/ per the naming conventions. 2021-09-24 00:45:43 +00:00
wpInstallDefaults.php Tests: Rename classes in phpunit/tests/multisite/ per the naming conventions. 2021-09-24 00:45:43 +00:00
wpMsSitesListTable.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2021-11-04 15:22:47 +00:00
wpmuValidateBlogSignup.php Tests: Rename classes in phpunit/tests/multisite/ per the naming conventions. 2021-09-24 00:45:43 +00:00
wpmuValidateUserSignup.php Tests: Rename classes in phpunit/tests/multisite/ per the naming conventions. 2021-09-24 00:45:43 +00:00
wpNetworkQuery.php Tests: Remove unnecessary setUp() and tearDown() methods in multisite tests. 2021-09-25 01:27:47 +00:00
wpSiteQuery.php Tests: Remove unnecessary setUp() and tearDown() methods in multisite tests. 2021-09-25 01:27:47 +00:00