From 816ed058a32454463d629202c2d9fe11899b0d0e Mon Sep 17 00:00:00 2001 From: les Date: Thu, 8 Jul 2021 20:31:32 +0200 Subject: [PATCH] [WPGancio] fix --- wp-plugin/oauth.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-plugin/oauth.php b/wp-plugin/oauth.php index 45da5e48..e243e333 100644 --- a/wp-plugin/oauth.php +++ b/wp-plugin/oauth.php @@ -83,8 +83,8 @@ function wpgancio_save_event ($post_id) { } if ( is_wp_error( $response ) ) { - $error_message = esc_html($response->get_error_message()); - echo "

${error_message}

"; + $error_message = $response->get_error_message(); + echo "

" . esc_html($error_message) . "

"; return; } $data = json_decode(wp_remote_retrieve_body($response));