From de699440ff94e9c0d8e8b5201ee93179c085bf60 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Thu, 01 Jan 2026 20:51:26 +0000
Subject: [PATCH] =Timeline fields in feedroutes.php

---
 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