: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
if ( ! extension_loaded( 'openssl' ) ) {
if ( ! function_exists( 'openssl_x509_parse' ) ) {
* Filters whether streams can be used as a transport for retrieving a URL.
* @param bool $use_class Whether the class can be used. Default true.
* @param array $args Request arguments.
return apply_filters( 'use_streams_transport', true, $args );
* Deprecated HTTP Transport method which used fsockopen.
* This class is not used, and is included for backward compatibility only.
* All code should make use of WP_Http directly through its API.
* @deprecated 3.7.0 Please use WP_HTTP::request() directly
class WP_HTTP_Fsockopen extends WP_Http_Streams {
// For backward compatibility for users who are using the class directly.