Created
August 22, 2013 16:37
-
-
Save yllus/6309667 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Workaround for a WordPress v3.5.2 change that blocks internal IP addresses (see http://core.trac.wordpress.org/ticket/24646 ). | |
add_filter( 'http_request_args', function( $args ) { | |
$args['reject_unsafe_urls'] = false; | |
return $args; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment