Skip to content

Commit

Permalink
Merge pull request #1009 from Codeinwp/bugfix/pro/770
Browse files Browse the repository at this point in the history
Removed double quotes from paraphrased text
  • Loading branch information
selul authored Dec 12, 2024
2 parents ed6ba2a + 00584dc commit 0c83993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/admin/feedzy-rss-feeds-actions.php
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ private function chat_gpt_rewrite() {
$openai = new \Feedzy_Rss_Feeds_Pro_Openai();
$rewrite_content = $openai->call_api( $this->settings, $content, '', array() );
// Replace prompt content string for specific cases.
$rewrite_content = str_replace( explode( '{content}', $prompt_content ), '', $rewrite_content );
$rewrite_content = str_replace( explode( '{content}', $prompt_content ), '', trim( $rewrite_content, '"' ) );
return $rewrite_content;
}

Expand Down

0 comments on commit 0c83993

Please sign in to comment.