Changeset 34802 for trunk/tests/phpunit/includes/testcase-canonical.php
- Timestamp:
- 10/03/2015 05:14:12 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/testcase-canonical.php
r32918 r34802 17 17 18 18 public function setUp() { 19 global $wp_rewrite;20 21 19 parent::setUp(); 22 20 … … 25 23 update_option( 'posts_per_page', 5 ); 26 24 25 global $wp_rewrite; 27 26 $wp_rewrite->init(); 28 27 $wp_rewrite->set_permalink_structure( $this->structure ); 28 29 29 create_initial_taxonomies(); 30 30 31 $wp_rewrite->flush_rules(); 31 32 }
Note: See TracChangeset
for help on using the changeset viewer.