Always include class-http.php. see #12990
git-svn-id: http://svn.automattic.com/wordpress/trunk@14079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -22,9 +22,6 @@
|
||||
function &_wp_http_get_object() {
|
||||
static $http;
|
||||
|
||||
if ( ! class_exists('WP_Http') )
|
||||
require( ABSPATH . WPINC . '/class-http.php' );
|
||||
|
||||
if ( is_null($http) )
|
||||
$http = new WP_Http();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user