Add missing localization in WP_HTTP, props Denis-de-Bernardy, fixes #10231 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11653 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
329fd81b20
commit
55fed78c60
|
@ -239,7 +239,7 @@ class WP_Http {
|
||||||
$arrURL = parse_url($url);
|
$arrURL = parse_url($url);
|
||||||
|
|
||||||
if ( $this->block_request( $url ) )
|
if ( $this->block_request( $url ) )
|
||||||
return new WP_Error('http_request_failed', 'User has blocked requests through HTTP.');
|
return new WP_Error('http_request_failed', __('User has blocked requests through HTTP.'));
|
||||||
|
|
||||||
// Determine if this is a https call and pass that on to the transport functions
|
// Determine if this is a https call and pass that on to the transport functions
|
||||||
// so that we can blacklist the transports that do not support ssl verification
|
// so that we can blacklist the transports that do not support ssl verification
|
||||||
|
|
Loading…
Reference in New Issue