Changeset 29913
- Timestamp:
- 10/16/2014 04:22:16 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/general/paginateLinks.php
r29780 r29913 4 4 5 5 private $i18n_count = 0; 6 private $permalink_structure = ''; 6 7 7 8 function setUp() { 8 9 parent::setUp(); 10 global $wp_rewrite; 9 11 10 12 $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 ); 11 21 } 12 22
Note: See TracChangeset
for help on using the changeset viewer.