WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/03/2014 12:49:32 AM (7 years ago)
Author:
wonderboymusic
Message:

Make sure hundreds of canonical tests don't fail in multisite every other time they are run.

See #28706.

File:
1 edited

Legend:

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

    r28961 r28964  
    3535        $post_id2 = $this->factory->post->create();
    3636
    37         $wp_rewrite->permalink_structure = '';
     37        $wp_rewrite->init();
    3838        $wp_rewrite->set_permalink_structure( '' );
     39        $wp_rewrite->flush_rules();
    3940
    4041        // Basic case
Note: See TracChangeset for help on using the changeset viewer.