WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/17/2015 08:48:33 PM (6 years ago)
Author:
wonderboymusic
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/term.php

    r35244 r35246  
    388388
    389389        foreach ( $posts as $post_id )
    390             $this->assertTrue( (bool) wp_delete_post( $post_id, true ) );
     390            $this->assertTrue( (bool) wp_delete_post( $post_id ) );
    391391    }
    392392
Note: See TracChangeset for help on using the changeset viewer.