Last active
April 15, 2016 11:57
-
-
Save MilanSavaliya/892d806be8212a75e1517f1d04538258 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Disable WordPress local connection SSL verifying | |
* Plugin URI: https://gist.github.com/MilanSavaliya/892d806be8212a75e1517f1d04538258 | |
* Description: Disables the verifying of WordPress local SSL connections. | |
* Author: Milan Savaliya | |
* Version: 1.0 | |
* Network: true | |
* License: GPLv3 | |
* License URI: http://www.gnu.org/licenses/gpl-3.0 | |
*/ | |
add_filter('https_ssl_verify', '__return_false'); | |
add_filter('https_local_ssl_verify', '__return_false'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment