Ticket #7456: 7456.r8546.diff
| File 7456.r8546.diff, 601 bytes (added by , 18 years ago) |
|---|
-
http.php
666 666 $context = stream_context_create($arrContext); 667 667 668 668 if ( !defined('WP_DEBUG') || ( defined('WP_DEBUG') && false === WP_DEBUG ) ) 669 $handle = @fopen($url, 'r' );669 $handle = @fopen($url, 'r', false, $context); 670 670 else 671 $handle = fopen($url, 'r' );671 $handle = fopen($url, 'r', false, $context); 672 672 673 673 if ( ! $handle) 674 674 return new WP_Error('http_request_failed', sprintf(__('Could not open handle for fopen() to %s'), $url));