From fc0edfc0d8efb6e16411c3b21e89ebadf52205fd Mon Sep 17 00:00:00 2001 From: Niclas Date: Fri, 29 Nov 2024 16:32:25 +0100 Subject: [PATCH] fix: always allow customer feedback --- source/php/Form.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/source/php/Form.php b/source/php/Form.php index 0205003..14df023 100644 --- a/source/php/Form.php +++ b/source/php/Form.php @@ -34,10 +34,6 @@ public function appendForm() $postExtended = get_extended($post->post_content); - if (empty($postExtended['main']) || (strpos($post->post_content, '') !== false && empty($postExtended['extended']))) { - return; - } - $mainQuestion = __('Did the information on this page help you?', 'customer-feedback'); if (!empty(get_field('customer_feedback_main_question_text', 'option'))) { $mainQuestion = get_field('customer_feedback_main_question_text', 'option');