Skip to content

Commit

Permalink
Fix Gravity forms bug on some Windows machines
Browse files Browse the repository at this point in the history
  • Loading branch information
junaidbhura committed Oct 30, 2018
1 parent c9886fd commit d6c2bd0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Http.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ public function post( $url = '', $args = array() ) {
curl_setopt( $curl_handle, CURLOPT_URL, $url );
curl_setopt( $curl_handle, CURLOPT_RETURNTRANSFER, 1 );
curl_setopt( $curl_handle, CURLOPT_FOLLOWLOCATION, true );
curl_setopt( $curl_handle, CURLOPT_SSL_VERIFYPEER, 0 );
curl_setopt( $curl_handle, CURLOPT_SSL_VERIFYHOST, 0 );
curl_setopt( $curl_handle, CURLOPT_CUSTOMREQUEST, 'POST' );
if ( ! empty( $args ) ) {
curl_setopt( $curl_handle, CURLOPT_POSTFIELDS, http_build_query( $args ) );
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "junaidbhura/composer-wp-pro-plugins",
"type": "composer-plugin",
"version": "1.0.4",
"version": "1.0.5",
"require": {
"vlucas/phpdotenv": "^2.4",
"composer-plugin-api": "^1.1"
Expand Down

0 comments on commit d6c2bd0

Please sign in to comment.