From a8889fb947f96323689f88f611e0f64da208bdf7 Mon Sep 17 00:00:00 2001 From: markjaquith Date: Wed, 15 Nov 2006 22:46:35 +0000 Subject: [PATCH] silence the fopen() in wp_remote_fopen() git-svn-id: http://svn.automattic.com/wordpress/trunk@4472 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 51a3fd9ef..ea37fbd32 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 = '';