From e9967fa22781d922ba4eb8fb44fe72d200ac4b14 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Mon, 10 Nov 2025 21:04:10 +0000
Subject: [PATCH] =IconsManager.php update

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

diff --git a/inc/managers/NotificationManager.php b/inc/managers/NotificationManager.php
index abac97a..db4a598 100644
--- a/inc/managers/NotificationManager.php
+++ b/inc/managers/NotificationManager.php
@@ -435,6 +435,10 @@
      */
     public function trackContentCreation(int $post_id, WP_POST $post, bool $update):void
     {
+		// SAFETY: Skip attachments and other non-content post types
+		if (in_array($post->post_type, jvbIgnoredPostTypes())) {
+			return;
+		}
         // Skip if not a published post
         if ($post->post_status !== 'publish') {
             return;

--
Gitblit v1.10.0