mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 06:57:35 +01:00
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:
parent
2906ded640
commit
1f93931d55
@ -22,9 +22,6 @@
|
|||||||
function &_wp_http_get_object() {
|
function &_wp_http_get_object() {
|
||||||
static $http;
|
static $http;
|
||||||
|
|
||||||
if ( ! class_exists('WP_Http') )
|
|
||||||
require( ABSPATH . WPINC . '/class-http.php' );
|
|
||||||
|
|
||||||
if ( is_null($http) )
|
if ( is_null($http) )
|
||||||
$http = new WP_Http();
|
$http = new WP_Http();
|
||||||
|
|
||||||
|
@ -129,6 +129,7 @@ require( ABSPATH . WPINC . '/canonical.php' );
|
|||||||
require( ABSPATH . WPINC . '/shortcodes.php' );
|
require( ABSPATH . WPINC . '/shortcodes.php' );
|
||||||
require( ABSPATH . WPINC . '/media.php' );
|
require( ABSPATH . WPINC . '/media.php' );
|
||||||
require( ABSPATH . WPINC . '/http.php' );
|
require( ABSPATH . WPINC . '/http.php' );
|
||||||
|
require( ABSPATH . WPINC . '/class-http.php' );
|
||||||
require( ABSPATH . WPINC . '/widgets.php' );
|
require( ABSPATH . WPINC . '/widgets.php' );
|
||||||
require( ABSPATH . WPINC . '/nav-menu.php' );
|
require( ABSPATH . WPINC . '/nav-menu.php' );
|
||||||
require( ABSPATH . WPINC . '/nav-menu-template.php' );
|
require( ABSPATH . WPINC . '/nav-menu-template.php' );
|
||||||
|
Loading…
Reference in New Issue
Block a user