Always include class-http.php. see #12990

git-svn-id: https://develop.svn.wordpress.org/trunk@14079 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2010-04-13 21:45:57 +00:00
parent e8f1acbf41
commit 7beb454ef2
2 changed files with 1 additions and 3 deletions

View File

@ -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 File

@ -129,6 +129,7 @@ require( ABSPATH . WPINC . '/canonical.php' );
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' );