Skip to content

Commit

Permalink
Merge pull request woocommerce#10639 from reidbiztech/patch-1
Browse files Browse the repository at this point in the history
Update class-wc-https.php
  • Loading branch information
mikejolley committed Apr 5, 2016
2 parents 938604a + f5293df commit fca1758
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-wc-https.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public static function unforce_https_template_redirect() {
*/
public static function http_api_curl( $handle, $r, $url ) {
if ( strstr( $url, 'https://' ) && ( strstr( $url, '.paypal.com/nvp' ) || strstr( $url, '.paypal.com/cgi-bin/webscr' ) ) ) {
curl_setopt( $handle, CURLOPT_SSLVERSION, 1 );
curl_setopt( $handle, CURLOPT_SSLVERSION, 6 );
}
}
}
Expand Down

0 comments on commit fca1758

Please sign in to comment.