WordPress.org

Make WordPress Core

Changeset 38407


Ignore:
Timestamp:
08/27/2016 05:02:54 PM (4 years ago)
Author:
johnbillion
Message:

Build/Test tools: Ensure the Tests_Query_Conditionals tests set up the environment correctly before re-registering initial taxonomies.

Fixes #37851

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/query/conditionals.php

    r38405 r38407  
    2323        update_option( 'posts_per_page', 5 );
    2424
     25        $this->set_permalink_structure( '/%year%/%monthnum%/%day%/%postname%/' );
     26
    2527        create_initial_taxonomies();
    26 
    27         $this->set_permalink_structure( '/%year%/%monthnum%/%day%/%postname%/' );
    2828    }
    2929
Note: See TracChangeset for help on using the changeset viewer.