$ssl_verify = isset( $r['sslverify'] ) && $r['sslverify'];
if ( $is_local ) {
/**
- * Filter whether SSL should be verified for local requests.
+ * Filters whether SSL should be verified for local requests.
*
* @since 2.8.0
*
$ssl_verify = apply_filters( 'https_local_ssl_verify', $ssl_verify );
} elseif ( ! $is_local ) {
/**
- * Filter whether SSL should be verified for non-local requests.
+ * Filters whether SSL should be verified for non-local requests.
*
* @since 2.8.0
*
}
/**
- * Whether this class can be used for retrieving a URL.
+ * Determines whether this class can be used for retrieving a URL.
*
* @static
* @access public
* @since 2.7.0
* @since 3.7.0 Combined with the fsockopen transport and switched to stream_socket_client().
*
+ * @param array $args Optional. Array of request arguments. Default empty array.
* @return bool False means this class can not be used, true means it can.
*/
public static function test( $args = array() ) {
}
/**
- * Filter whether streams can be used as a transport for retrieving a URL.
+ * Filters whether streams can be used as a transport for retrieving a URL.
*
* @since 2.7.0
*
/**
* Deprecated HTTP Transport method which used fsockopen.
*
- * This class is not used, and is included for backwards compatibility only.
+ * This class is not used, and is included for backward compatibility only.
* All code should make use of WP_Http directly through its API.
*
* @see WP_HTTP::request
* @deprecated 3.7.0 Please use WP_HTTP::request() directly
*/
class WP_HTTP_Fsockopen extends WP_HTTP_Streams {
- // For backwards compatibility for users who are using the class directly.
+ // For backward compatibility for users who are using the class directly.
}