From e991eb39f84406259962b479af01431f9ddb2b2a Mon Sep 17 00:00:00 2001 From: Torsten Landsiedel Date: Sat, 3 Feb 2024 16:12:41 +0100 Subject: [PATCH] Better support for AJAX comments --- antispam_bee.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/antispam_bee.php b/antispam_bee.php index e095bf81..7b1e3461 100755 --- a/antispam_bee.php +++ b/antispam_bee.php @@ -165,7 +165,7 @@ public static function init() { ) ); - } elseif ( is_admin() ) { + } elseif ( is_admin() && ! defined( 'DOING_AJAX' ) ) { add_action( 'admin_menu', array(