Add missing localization in WP_HTTP, props Denis-de-Bernardy, fixes #10231 for 2.8
git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@11652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6e18c2cdcb
commit
cfb0604939
|
@ -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