Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/2184' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
manzurahammed committed Jul 4, 2022
2 parents 6f1ffe1 + 205b209 commit 5b7908e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Elements/Event_Calendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) ) {
Expand Down

0 comments on commit 5b7908e

Please sign in to comment.