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:
parent
e8f1acbf41
commit
7beb454ef2
@ -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();
|
||||
|
||||
|
@ -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' );
|
||||
|
Loading…
Reference in New Issue
Block a user