Skip to content

Commit

Permalink
Revert "Handle single quotes"
Browse files Browse the repository at this point in the history
This reverts commit 3bec9c8.
  • Loading branch information
kennym committed Apr 11, 2021
1 parent 64881f4 commit f783dbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions includes/class-cf7-api-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ private function send_lead( $record , $debug = false , $method = 'GET' , $record

$args['headers']['Content-Type'] = 'application/json';

$json = $this->parse_json( stripslashes ( $lead ) );
$json = $this->parse_json( $lead );

if( is_wp_error( $json ) ){
return $json;
Expand Down Expand Up @@ -623,7 +623,7 @@ private function send_lead( $record , $debug = false , $method = 'GET' , $record

$args['headers']['Content-Type'] = 'application/json';

$json = $this->parse_json( stripslashes( $lead ) );
$json = $this->parse_json( $lead );

if( is_wp_error( $json ) ){
return $json;
Expand Down
4 changes: 0 additions & 4 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,6 @@ Changelog

- Compatibility fixes

### 1.4.6

- Handle single quotes

### 1.4.5

- Handle line breaks
Expand Down

0 comments on commit f783dbe

Please sign in to comment.