silence the fopen() in wp_remote_fopen()
git-svn-id: https://develop.svn.wordpress.org/trunk@4472 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e8f473002c
commit
33a423a769
@ -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 = '';
|
||||
|
Loading…
Reference in New Issue
Block a user