From 205b209888c259da8a924098cdf42a146945c11f Mon Sep 17 00:00:00 2001 From: Linkon Miyan Date: Sun, 3 Jul 2022 15:25:54 +0600 Subject: [PATCH] fixed -- Event Calendar | not showing all events --- includes/Elements/Event_Calendar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Elements/Event_Calendar.php b/includes/Elements/Event_Calendar.php index c5f821847..3fd853e85 100644 --- a/includes/Elements/Event_Calendar.php +++ b/includes/Elements/Event_Calendar.php @@ -2033,7 +2033,7 @@ public function get_google_calendar_events($settings) } if ( empty( $data ) ) { - $data = wp_remote_retrieve_body( wp_remote_get( esc_url( add_query_arg( $arg, $base_url ) ) ) ); + $data = wp_remote_retrieve_body( wp_remote_get( esc_url_raw( add_query_arg( $arg, $base_url ) ) ) ); $check_error = json_decode( $data ); if ( ! empty( $check_error->error ) ) {