From dd649f62a5bf107bb9b1abf71d4c7dda2b011357 Mon Sep 17 00:00:00 2001 From: mecrazy Date: Tue, 16 Jun 2015 15:08:56 +0900 Subject: [PATCH] For wp_remote_get SSL Enable to execute wp_remote_get to localhost on SSL --- plugin.php | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin.php b/plugin.php index fbe8455..867ff1f 100644 --- a/plugin.php +++ b/plugin.php @@ -49,6 +49,7 @@ add_filter('StaticPress::put_content', array($staticpress, 'add_last_modified'), 10, 2); add_filter('StaticPress::put_content', array($staticpress, 'remove_link_tag'), 10, 2); add_filter('StaticPress::put_content', array($staticpress, 'replace_relative_URI'), 10, 2); +add_filter('https_local_ssl_verify', '__return_false'); register_activation_hook(__FILE__, array($staticpress, 'activate')); register_deactivation_hook(__FILE__, array($staticpress, 'deactivate'));