Changeset 34810 for trunk/tests/phpunit/tests/query/verboseRewriteRules.php
- Timestamp:
- 10/03/2015 08:54:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/query/verboseRewriteRules.php
r33250 r34810 9 9 class Tests_Query_VerbosePageRules extends Tests_Query_Conditionals { 10 10 function setUp() { 11 global $wp_rewrite;12 13 11 parent::setUp(); 14 15 $wp_rewrite->init();16 $wp_rewrite->set_permalink_structure( '/%category%/%year%/%postname%/' );17 12 18 13 create_initial_taxonomies(); 19 14 20 $ wp_rewrite->flush_rules();15 $this->set_permalink_structure( '/%category%/%year%/%postname%/' ); 21 16 } 22 17 }
Note: See TracChangeset
for help on using the changeset viewer.