diff --git a/class-gwiz-gf-openai.php b/class-gwiz-gf-openai.php index 9b1e04e..9ef8558 100644 --- a/class-gwiz-gf-openai.php +++ b/class-gwiz-gf-openai.php @@ -1358,7 +1358,7 @@ public function make_request( $endpoint, $body, $feed ) { $cache_key = sha1( serialize( array( 'url' => $url, - 'body' => $body, + 'body' => map_deep( $body, 'sanitize_text_field' ), 'request_params' => $this->get_request_params( $feed ), ) ) );