From 33a423a769d0c2980d3e5e8c3c71ed18fe2a05cf Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Wed, 15 Nov 2006 22:46:35 +0000 Subject: [PATCH] silence the fopen() in wp_remote_fopen() git-svn-id: https://develop.svn.wordpress.org/trunk@4472 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 51a3fd9efe..ea37fbd321 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -734,7 +734,7 @@ function add_magic_quotes($array) { function wp_remote_fopen( $uri ) { if ( ini_get('allow_url_fopen') ) { - $fp = fopen( $uri, 'r' ); + $fp = @fopen( $uri, 'r' ); if ( !$fp ) return false; $linea = '';