We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2be5dae commit 60e6f5eCopy full SHA for 60e6f5e
src/Sendy.php
@@ -357,9 +357,9 @@ private function query( $route, array $values ) {
357
// Let's cURL.
358
// phpcs:disable -- not WP.
359
$ch = curl_init( $postUrl );
360
- // Comment disable this SSL verification for testing.
+ // Comment to disable this SSL peer verification for testing.
361
curl_setopt( $ch, CURLOPT_SSL_VERIFYPEER, 0 );
362
+ // Comment to disable this SSL host verification for testing.
363
curl_setopt( $ch, CURLOPT_SSL_VERIFYHOST, 0 );
364
curl_setopt( $ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/x-www-form-urlencoded' ) );
365
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1 );
0 commit comments