WordPress.org

Make WordPress Core

Ticket #15011: http.php.patch

File http.php.patch, 404 bytes (added by cthomas_engauge, 8 years ago)

Patch file

  • wp-includes/http.php

     
    2222function &_wp_http_get_object() {
    2323       static $http;
    2424
     25       if( !class_exists( 'WP_Http' ) ) {
     26               include_once( ABSPATH . WPINC. '/class-http.php' );
     27       }
     28
    2529       if ( is_null($http) )
    2630               $http = new WP_Http();