Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save MilanSavaliya/892d806be8212a75e1517f1d04538258 to your computer and use it in GitHub Desktop.
Save MilanSavaliya/892d806be8212a75e1517f1d04538258 to your computer and use it in GitHub Desktop.
<?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