Changeset 34802 for trunk/tests/phpunit/tests/general/paginateLinks.php
- Timestamp:
- 10/03/2015 05:14:12 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/general/paginateLinks.php
r32359 r34802 4 4 5 5 private $i18n_count = 0; 6 private $permalink_structure = '';7 6 8 7 function setUp() { 9 8 parent::setUp(); 10 global $wp_rewrite;11 9 12 10 $this->go_to( home_url( '/' ) ); 13 14 $this->permalink_structure = $wp_rewrite->permalink_structure;15 $wp_rewrite->set_permalink_structure( get_option( 'permalink_structure' ) );16 }17 18 function tearDown() {19 global $wp_rewrite;20 $wp_rewrite->set_permalink_structure( $this->permalink_structure );21 11 } 22 12
Note: See TracChangeset
for help on using the changeset viewer.