Changeset 51568 for trunk/tests/phpunit/tests/functions/referer.php
- Timestamp:
- 08/07/2021 10:29:41 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/functions/referer.php
r50450 r51568 10 10 class Tests_Functions_Referer extends WP_UnitTestCase { 11 11 12 public function set Up() {13 parent::set Up();12 public function set_up() { 13 parent::set_up(); 14 14 15 15 $_SERVER['HTTP_REFERER'] = ''; … … 18 18 } 19 19 20 public function tear Down() {20 public function tear_down() { 21 21 $_SERVER['HTTP_REFERER'] = ''; 22 22 $_SERVER['REQUEST_URI'] = ''; 23 23 $_REQUEST['_wp_http_referer'] = ''; 24 24 25 parent::tear Down();25 parent::tear_down(); 26 26 } 27 27
Note: See TracChangeset
for help on using the changeset viewer.