From 3e7e009995dbdf96b4d819a41e2b944bc614a38e Mon Sep 17 00:00:00 2001 From: ren <18050944+renintw@users.noreply.github.com> Date: Fri, 15 Sep 2023 20:44:33 +0800 Subject: [PATCH] Tidy up file structure --- .../wordcamp-organizer-survey/includes/admin-page.php | 4 ++-- .../includes/{ => debrief-survey}/cron.php | 6 +++--- .../includes/{ => debrief-survey}/email.php | 4 ++-- .../debrief-survey.php => debrief-survey/page.php} | 2 +- .../wordcamp-organizer-survey.php | 10 +++++----- 5 files changed, 13 insertions(+), 13 deletions(-) rename public_html/wp-content/plugins/wordcamp-organizer-survey/includes/{ => debrief-survey}/cron.php (95%) rename public_html/wp-content/plugins/wordcamp-organizer-survey/includes/{ => debrief-survey}/email.php (95%) rename public_html/wp-content/plugins/wordcamp-organizer-survey/includes/{pages/debrief-survey.php => debrief-survey/page.php} (99%) diff --git a/public_html/wp-content/plugins/wordcamp-organizer-survey/includes/admin-page.php b/public_html/wp-content/plugins/wordcamp-organizer-survey/includes/admin-page.php index 1fb05be383..346bb36d58 100644 --- a/public_html/wp-content/plugins/wordcamp-organizer-survey/includes/admin-page.php +++ b/public_html/wp-content/plugins/wordcamp-organizer-survey/includes/admin-page.php @@ -10,8 +10,8 @@ use CampTix_Plugin; use function WordCamp\OrganizerSurvey\{get_feature_id}; -use function WordCamp\OrganizerSurvey\Email\{get_email_id}; -use function WordCamp\OrganizerSurvey\DebriefSurvey\{get_page_id}; +use function WordCamp\OrganizerSurvey\DebriefSurvey\Email\{get_email_id}; +use function WordCamp\OrganizerSurvey\DebriefSurvey\Page\{get_page_id}; add_action( 'init', __NAMESPACE__ . '\init' ); diff --git a/public_html/wp-content/plugins/wordcamp-organizer-survey/includes/cron.php b/public_html/wp-content/plugins/wordcamp-organizer-survey/includes/debrief-survey/cron.php similarity index 95% rename from public_html/wp-content/plugins/wordcamp-organizer-survey/includes/cron.php rename to public_html/wp-content/plugins/wordcamp-organizer-survey/includes/debrief-survey/cron.php index d6e6146767..eb0c5aa742 100644 --- a/public_html/wp-content/plugins/wordcamp-organizer-survey/includes/cron.php +++ b/public_html/wp-content/plugins/wordcamp-organizer-survey/includes/debrief-survey/cron.php @@ -1,13 +1,13 @@