From f9d91b18aa4e0a682500dc2c5c42d9cea034071f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 21 Oct 2020 00:24:48 +0200 Subject: fix typo --- plugin/GNU-Taler-Payment-Gateway/class-wc-gnutaler-gateway.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/GNU-Taler-Payment-Gateway/class-wc-gnutaler-gateway.php b/plugin/GNU-Taler-Payment-Gateway/class-wc-gnutaler-gateway.php index 6522b95..9b6df13 100644 --- a/plugin/GNU-Taler-Payment-Gateway/class-wc-gnutaler-gateway.php +++ b/plugin/GNU-Taler-Payment-Gateway/class-wc-gnutaler-gateway.php @@ -418,7 +418,7 @@ function gnutaler_init_gateway_class() { 'limit_response_size' => 1024 * 1024, // More than enough. ); if ( $body ) { - $args['body'] = wp_json_encode( $body, JSON_UNESCAPED_SLASHES, 0, 16 ); + $args['body'] = wp_json_encode( $body, JSON_UNESCAPED_UNICODE|JSON_UNESCAPED_SLASHES, 16 ); $args['headers'][] = 'Content-type: application/json'; $args['compress'] = true; } -- cgit v1.2.3