-
-
Save samuelaguilera/0056d383e64d29ec856b1b38692cf26f to your computer and use it in GitHub Desktop.
Force WP certificate validation
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 | |
// NOTE: THE CODE TO COPY/PASTE STARTS *BELOW* THIS LINE | |
// Force certificate validation. You need a valid certificate in the site, self generated certificates are NOT VALID. | |
add_filter( 'https_local_ssl_verify', '__return_true' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment