From cb30d0d26c92aefb107c531a37be5c16fa627b4f Mon Sep 17 00:00:00 2001
From: Kevin Cristiano <kcristiano@kcristiano.com>
Date: Thu, 5 Aug 2021 18:14:09 -0400
Subject: [PATCH] Revert #240 Redirect loops and invalid confirm pages abound

Signed-off-by: Kevin Cristiano <kcristiano@kcristiano.com>
---
 includes/civicrm.basepage.php | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/includes/civicrm.basepage.php b/includes/civicrm.basepage.php
index fcde362188..f52e9ef3d9 100644
--- a/includes/civicrm.basepage.php
+++ b/includes/civicrm.basepage.php
@@ -522,9 +522,6 @@ class CiviCRM_For_WordPress_Basepage {
    */
   public function basepage_render() {
 
-    // We no longer need this filter, so remove it.
-    remove_filter('the_content', [$this, 'basepage_render']);
-
     // Hand back our base page markup.
     return $this->basepage_markup;
 
-- 
GitLab