silence the fopen() in wp_remote_fopen()
git-svn-id: http://svn.automattic.com/wordpress/trunk@4472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7684ebbeac
commit
a8889fb947
|
@ -734,7 +734,7 @@ function add_magic_quotes($array) {
|
||||||
|
|
||||||
function wp_remote_fopen( $uri ) {
|
function wp_remote_fopen( $uri ) {
|
||||||
if ( ini_get('allow_url_fopen') ) {
|
if ( ini_get('allow_url_fopen') ) {
|
||||||
$fp = fopen( $uri, 'r' );
|
$fp = @fopen( $uri, 'r' );
|
||||||
if ( !$fp )
|
if ( !$fp )
|
||||||
return false;
|
return false;
|
||||||
$linea = '';
|
$linea = '';
|
||||||
|
|
Loading…
Reference in New Issue