From 8bf7fde6ee0c974bff5a9dfa50377b6b384f8b5a Mon Sep 17 00:00:00 2001 From: Ian Dunn Date: Mon, 20 Nov 2023 16:33:55 -0800 Subject: [PATCH] Events: Update templates to use Map block directly The Event Filters block was merged into the main block. --- .../themes/wporg-events-2023/inc/city-landing-pages.php | 4 ++-- .../themes/wporg-events-2023/parts/front-page/cover.html | 2 +- .../themes/wporg-events-2023/parts/front-page/events.html | 2 +- .../wporg-events-2023/templates/page-city-landing-page.html | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/public_html/wp-content/themes/wporg-events-2023/inc/city-landing-pages.php b/public_html/wp-content/themes/wporg-events-2023/inc/city-landing-pages.php index 7dabc38cf3..2a7a78e842 100644 --- a/public_html/wp-content/themes/wporg-events-2023/inc/city-landing-pages.php +++ b/public_html/wp-content/themes/wporg-events-2023/inc/city-landing-pages.php @@ -2,7 +2,7 @@ namespace WordPressdotorg\Events_2023; use WP, WP_Post, DateTimeZone, DateTime; -use WordPressdotorg\MU_Plugins\Google_Map_Event_Filters; +use WordPressdotorg\MU_Plugins\Google_Map; defined( 'WPINC' ) || die(); @@ -95,7 +95,7 @@ function prime_query_cache(): void { 'landing_page' => $request_uri ); - $cache_key = Google_Map_Event_Filters\get_cache_key( $parts ); + $cache_key = Google_Map\get_cache_key( $parts ); $events = get_city_landing_page_events( $request_uri, true ); set_transient( $cache_key, $events, DAY_IN_SECONDS ); diff --git a/public_html/wp-content/themes/wporg-events-2023/parts/front-page/cover.html b/public_html/wp-content/themes/wporg-events-2023/parts/front-page/cover.html index f6a24c4635..08cb04972e 100644 --- a/public_html/wp-content/themes/wporg-events-2023/parts/front-page/cover.html +++ b/public_html/wp-content/themes/wporg-events-2023/parts/front-page/cover.html @@ -25,6 +25,6 @@

Meet the community behind WordPress

- + \ No newline at end of file diff --git a/public_html/wp-content/themes/wporg-events-2023/parts/front-page/events.html b/public_html/wp-content/themes/wporg-events-2023/parts/front-page/events.html index 3f19ef8d45..da520e1373 100644 --- a/public_html/wp-content/themes/wporg-events-2023/parts/front-page/events.html +++ b/public_html/wp-content/themes/wporg-events-2023/parts/front-page/events.html @@ -5,7 +5,7 @@

Upcoming Events

- +
diff --git a/public_html/wp-content/themes/wporg-events-2023/templates/page-city-landing-page.html b/public_html/wp-content/themes/wporg-events-2023/templates/page-city-landing-page.html index 463e87579b..bd1754d5a5 100644 --- a/public_html/wp-content/themes/wporg-events-2023/templates/page-city-landing-page.html +++ b/public_html/wp-content/themes/wporg-events-2023/templates/page-city-landing-page.html @@ -2,7 +2,7 @@
- +