From 0402bac392508b187b6da7580c9f54912e03199c Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Tue, 15 Sep 2015 08:08:15 +0000 Subject: [PATCH] Missed files from [34172]. See #33877 git-svn-id: https://develop.svn.wordpress.org/trunk@34173 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/comment/slashes.php | 2 -- tests/phpunit/tests/multisite/site.php | 2 -- 2 files changed, 4 deletions(-) diff --git a/tests/phpunit/tests/comment/slashes.php b/tests/phpunit/tests/comment/slashes.php index d22df5c855..6b3cecdcd6 100644 --- a/tests/phpunit/tests/comment/slashes.php +++ b/tests/phpunit/tests/comment/slashes.php @@ -22,8 +22,6 @@ class Tests_Comment_Slashes extends WP_UnitTestCase { $this->slash_5 = 'String with 5 slashes \\\\\\\\\\'; $this->slash_6 = 'String with 6 slashes \\\\\\\\\\\\'; $this->slash_7 = 'String with 7 slashes \\\\\\\\\\\\\\'; - - $_SERVER['REMOTE_ADDR'] = null; } function tearDown() { diff --git a/tests/phpunit/tests/multisite/site.php b/tests/phpunit/tests/multisite/site.php index 4e5298d43d..6b8a69580d 100644 --- a/tests/phpunit/tests/multisite/site.php +++ b/tests/phpunit/tests/multisite/site.php @@ -15,8 +15,6 @@ class Tests_Multisite_Site extends WP_UnitTestCase { global $wpdb; parent::setUp(); $this->suppress = $wpdb->suppress_errors(); - - $_SERVER[ 'REMOTE_ADDR' ] = ''; } function tearDown() {