WordPress.org

Make WordPress Core

Changeset 8548


Ignore:
Timestamp:
08/05/08 16:33:20 (7 years ago)
Author:
ryan
Message:

Streams transport fixes from jacobsantos. fixes #7456 see #4779

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/http.php

    r8545 r8548  
    667667 
    668668        if ( !defined('WP_DEBUG') || ( defined('WP_DEBUG') && false === WP_DEBUG ) ) 
    669             $handle = @fopen($url, 'r'); 
     669            $handle = @fopen($url, 'r', false, $context); 
    670670        else 
    671             $handle = fopen($url, 'r'); 
     671            $handle = fopen($url, 'r', false, $context); 
    672672 
    673673        if ( ! $handle) 
Note: See TracChangeset for help on using the changeset viewer.