Quick fix for WordPress SSL Verify error

When your WordPress installation has problems with updating and retrieving files over SSL, because of outdated certificates, you can bypass this.
It`s actually a workaround, not a fix!

Just place the following code in your theme or plugin

// SSL fix
add_filter( 'https_ssl_verify', '__return_false' );
add_filter( 'https_local_ssl_verify', '__return_false' );

3 thoughts on “Quick fix for WordPress SSL Verify error

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.