Changeset 47338 for branches/3.8/tests/phpunit/tests/query/conditionals.php
- Timestamp:
- 02/21/2020 01:05:39 PM (5 years ago)
- Location:
- branches/3.8
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.8
- Property svn:mergeinfo changed
-
branches/3.8/tests/phpunit/tests/query/conditionals.php
r32150 r47338 24 24 25 25 global $wp_rewrite; 26 update_option( 'permalink_structure', '/%year%/%monthnum%/%day%/%postname%/' ); 26 27 $wp_rewrite->init(); 28 $wp_rewrite->set_permalink_structure( '/%year%/%monthnum%/%day%/%postname%/' ); 29 27 30 create_initial_taxonomies(); 28 $GLOBALS['wp_rewrite']->init(); 29 flush_rewrite_rules();31 32 $wp_rewrite->flush_rules(); 30 33 } 31 34 32 35 function tearDown() { 33 $GLOBALS['wp_rewrite']->init(); 36 global $wp_rewrite; 37 $wp_rewrite->init(); 38 34 39 parent::tearDown(); 35 40 }
Note: See TracChangeset
for help on using the changeset viewer.