Changeset 51568 for trunk/tests/phpunit/tests/rewrite/oldDateRedirect.php
- Timestamp:
- 08/07/2021 10:29:41 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rewrite/oldDateRedirect.php
r50450 r51568 29 29 } 30 30 31 public function set Up() {32 parent::set Up();31 public function set_up() { 32 parent::set_up(); 33 33 34 34 add_filter( 'old_slug_redirect_url', array( $this, 'filter_old_date_redirect_url' ), 10, 1 ); … … 42 42 } 43 43 44 public function tear Down() {44 public function tear_down() { 45 45 $this->old_date_redirect_url = null; 46 46 47 parent::tear Down();47 parent::tear_down(); 48 48 } 49 49
Note: See TracChangeset
for help on using the changeset viewer.