Change the HTTP API's URL validation default, in trunk.
git-svn-id: http://core.svn.wordpress.org/trunk@24482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
96ee267343
commit
8b09788c70
|
@ -87,7 +87,7 @@ class WP_Http {
|
||||||
'redirection' => apply_filters( 'http_request_redirection_count', 5),
|
'redirection' => apply_filters( 'http_request_redirection_count', 5),
|
||||||
'httpversion' => apply_filters( 'http_request_version', '1.0'),
|
'httpversion' => apply_filters( 'http_request_version', '1.0'),
|
||||||
'user-agent' => apply_filters( 'http_headers_useragent', 'WordPress/' . $wp_version . '; ' . get_bloginfo( 'url' ) ),
|
'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,
|
'blocking' => true,
|
||||||
'headers' => array(),
|
'headers' => array(),
|
||||||
'cookies' => array(),
|
'cookies' => array(),
|
||||||
|
|
Loading…
Reference in New Issue