Changeset 34810 for trunk/tests/phpunit/tests/query.php
- Timestamp:
- 10/03/2015 08:54:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/query.php
r34697 r34810 4 4 5 5 function setUp() { 6 global $wp_rewrite;7 6 parent::setUp(); 8 7 9 $wp_rewrite->init();10 $wp_rewrite->set_permalink_structure( '/%year%/%monthnum%/%day%/%postname%/' );11 12 8 create_initial_taxonomies(); 13 14 $wp_rewrite->flush_rules(); 9 $this->set_permalink_structure( '/%year%/%monthnum%/%day%/%postname%/' ); 15 10 } 16 11
Note: See TracChangeset
for help on using the changeset viewer.