From f3f33e5859f6580e932aaa33856f279e13fe8045 Mon Sep 17 00:00:00 2001 From: John Oleksowicz Date: Tue, 27 Jun 2023 16:26:19 -0500 Subject: [PATCH] Don't automatically include homepage in all pages MAILPOET-4897 --- mailpoet/lib/Form/DisplayFormInWPContent.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/mailpoet/lib/Form/DisplayFormInWPContent.php b/mailpoet/lib/Form/DisplayFormInWPContent.php index 78cd196016..14b60f8883 100644 --- a/mailpoet/lib/Form/DisplayFormInWPContent.php +++ b/mailpoet/lib/Form/DisplayFormInWPContent.php @@ -370,9 +370,6 @@ class DisplayFormInWPContent { if (($setup['homepage'] ?? false) === '1') { return true; } - if (($setup['pages']['all'] ?? false) === '1') { - return true; - } return false; }