Change the HTTP API's URL validation default, in trunk.

git-svn-id: https://develop.svn.wordpress.org/trunk@24482 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2013-06-21 06:17:56 +00:00
parent dfcf4b5eae
commit fe79cf8fd7
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ class WP_Http {
'redirection' => apply_filters( 'http_request_redirection_count', 5),
'httpversion' => apply_filters( 'http_request_version', '1.0'),
'user-agent' => apply_filters( 'http_headers_useragent', 'WordPress/' . $wp_version . '; ' . get_bloginfo( 'url' ) ),
'reject_unsafe_urls' => apply_filters( 'http_request_reject_unsafe_urls', false ),
'reject_unsafe_urls' => apply_filters( 'http_request_reject_unsafe_urls', true ),
'blocking' => true,
'headers' => array(),
'cookies' => array(),