From 26aeb0f9bcee700122afe1c678028456dfcc40eb Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Thu, 8 Oct 2015 19:28:14 +0000 Subject: [PATCH] After [34953], unbreak WordPress. See [34930], #33982. git-svn-id: https://develop.svn.wordpress.org/trunk@34954 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/http.php | 3 +++ src/wp-includes/rest-api.php | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/http.php b/src/wp-includes/http.php index 30782c4e50..6e65e36dae 100644 --- a/src/wp-includes/http.php +++ b/src/wp-includes/http.php @@ -30,3 +30,6 @@ require_once( ABSPATH . WPINC . '/class-wp-http-cookie.php' ); /** WP_Http_Encoding class */ require_once( ABSPATH . WPINC . '/class-wp-http-encoding.php' ); + +/** WP_HTTP_Response class */ +require_once( ABSPATH . WPINC . '/class-wp-http-response.php' ); diff --git a/src/wp-includes/rest-api.php b/src/wp-includes/rest-api.php index e244c5f3a7..9c7acb1b04 100644 --- a/src/wp-includes/rest-api.php +++ b/src/wp-includes/rest-api.php @@ -16,9 +16,6 @@ define( 'REST_API_VERSION', '2.0' ); /** WP_REST_Server class */ require_once( ABSPATH . WPINC . '/rest-api/class-wp-rest-server.php' ); -/** WP_HTTP_Response class */ -require_once( ABSPATH . WPINC . '/rest-api/class-wp-http-response.php' ); - /** WP_REST_Response class */ require_once( ABSPATH . WPINC . '/rest-api/class-wp-rest-response.php' );