mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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:
@@ -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 = '';
|
||||
|
||||
Reference in New Issue
Block a user