From ff7727d2fb1122d20a2b5f8538b913c344f6e460 Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Thu, 25 Jul 2024 11:01:44 +1000 Subject: [PATCH 1/5] Allow doaction.org URLs for events --- .../plugins/wcpt/wcpt-wordcamp/wordcamp-new-site.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/public_html/wp-content/plugins/wcpt/wcpt-wordcamp/wordcamp-new-site.php b/public_html/wp-content/plugins/wcpt/wcpt-wordcamp/wordcamp-new-site.php index 93bfa41fcc..ddafa7b9fe 100644 --- a/public_html/wp-content/plugins/wcpt/wcpt-wordcamp/wordcamp-new-site.php +++ b/public_html/wp-content/plugins/wcpt/wcpt-wordcamp/wordcamp-new-site.php @@ -53,9 +53,10 @@ public function render_site_url_field( $key, $field_type, $object_name ) { $valid_url = isset( $url['host'], $url['path'] ); $tld = get_top_level_domain(); $network_id = $valid_url && "events.wordpress.$tld" === $url['host'] ? EVENTS_NETWORK_ID : WORDCAMP_NETWORK_ID; + $doaction = ( 'doaction.org' === $url['host'] ); ?> - + siteurl ); ?>/wp-admin/">Dashboard | Visit - +