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:
ryan 2010-04-13 21:45:57 +00:00
parent 2906ded640
commit 1f93931d55
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' );