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/post/getPages.php

    r35244 r35246  
    7979
    8080        // This should bump last_changed.
    81         wp_delete_post( $pages[0]->ID, true );
     81        wp_delete_post( $pages[0]->ID );
    8282        $old_changed_float = $this->_microtime_to_float( $last_changed );
    8383        $new_changed_float = $this->_microtime_to_float( wp_cache_get( 'last_changed', 'posts' ) );
Note: See TracChangeset for help on using the changeset viewer.