Skip to content
Browse files

Always include class-http.php. see #12990

git-svn-id: http://svn.automattic.com/wordpress/trunk@14079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
1 parent 2906ded commit 1f93931d551fe36a7e972cf8a089d616d7d16705 ryan committed Apr 13, 2010
Showing with 1 addition and 3 deletions.
  1. +0 −3 wp-includes/http.php
  2. +1 −0 wp-settings.php
View
3 wp-includes/http.php
@@ -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();
View
1 wp-settings.php
@@ -129,6 +129,7 @@
require( ABSPATH . WPINC . '/shortcodes.php' );
require( ABSPATH . WPINC . '/media.php' );
require( ABSPATH . WPINC . '/http.php' );
+require( ABSPATH . WPINC . '/class-http.php' );
require( ABSPATH . WPINC . '/widgets.php' );
require( ABSPATH . WPINC . '/nav-menu.php' );
require( ABSPATH . WPINC . '/nav-menu-template.php' );

0 comments on commit 1f93931

Please sign in to comment.
Something went wrong with that request. Please try again.