Created
May 24, 2016 13:27
-
-
Save jamesmorrison/4bb664852b47a461f177d1ba8510f3be to your computer and use it in GitHub Desktop.
Allow self signed SSL on WP (required when doing network upgrade)
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 | |
if ( defined( 'LOCAL_DEV' ) && LOCAL_DEV ) { | |
// Allow Self Signed SSL Certificates | |
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