From 1d5c574e6efc88a32a76f645c27f459aad0e65df Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Thu, 01 Jan 2026 21:12:08 +0000
Subject: [PATCH] =Minor fix to extractTaxonomies

---
 inc/managers/LoginManager.php |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/inc/managers/LoginManager.php b/inc/managers/LoginManager.php
index f336e23..05bfe83 100644
--- a/inc/managers/LoginManager.php
+++ b/inc/managers/LoginManager.php
@@ -67,8 +67,14 @@
 		// Allow other features to register handlers
 		do_action('jvbLoginManagerInit', $this);
 		add_action('user_register', array($this, 'saveRegistrationFields'), 999, 2);
+		add_filter('the_seo_framework_sitemap_exclude_ids', [$this, 'excludeLoginSitemap'], 10, 1);
 	}
 
+	public function excludeLoginSitemap(array $ids): array
+	{
+		$ids[] = $this->getLoginPage();
+		return $ids;
+	}
 	/**************************************************************************
 	   * SETUP & CONFIGURATION
 	**************************************************************************/

--
Gitblit v1.10.0