mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-10 07:34:34 +00:00
Unit Tests: better fixtures for Tests_AdminBar. Don't force-delete some posts: some filter callbacks are no-ops on Multisite if the post is vanquished.
See #30017, #33968. git-svn-id: https://develop.svn.wordpress.org/trunk@35246 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -387,7 +387,7 @@ class Tests_Term extends WP_UnitTestCase {
|
||||
$this->assertTrue( wp_delete_term( $term_id, 'post_tag' ) );
|
||||
|
||||
foreach ( $posts as $post_id )
|
||||
$this->assertTrue( (bool) wp_delete_post( $post_id, true ) );
|
||||
$this->assertTrue( (bool) wp_delete_post( $post_id ) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user