Changeset 51568 for trunk/tests/phpunit/tests/rewrite.php
- Timestamp:
- 08/07/2021 10:29:41 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rewrite.php
r51462 r51568 9 9 private $home_url; 10 10 11 function set Up() {12 parent::set Up();11 function set_up() { 12 parent::set_up(); 13 13 14 14 $this->set_permalink_structure( '/%year%/%monthnum%/%day%/%postname%/' ); … … 18 18 } 19 19 20 function tear Down() {20 function tear_down() { 21 21 global $wp_rewrite; 22 22 $wp_rewrite->init(); 23 23 24 24 update_option( 'home', $this->home_url ); 25 parent::tear Down();25 parent::tear_down(); 26 26 } 27 27
Note: See TracChangeset
for help on using the changeset viewer.