From 47e77f9fac1155c536b2b87fec552c7fcce66fa6 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Mon, 01 Jun 2026 18:06:34 +0000
Subject: [PATCH] =Timeline block fixes. Next up: adding article schema classes
---
assets/js/concise/Notifications.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/assets/js/concise/Notifications.js b/assets/js/concise/Notifications.js
index 66bac6f..5d50c8b 100644
--- a/assets/js/concise/Notifications.js
+++ b/assets/js/concise/Notifications.js
@@ -93,7 +93,7 @@
method: 'GET',
headers: {
'X-WP-Nonce': window.auth.getNonce(),
- 'action_nonce': window.auth.getNonce('notifications')
+ 'X-Action-Nonce': window.auth.getNonce('notifications')
}
}, {
context: 'notifications',
@@ -278,7 +278,7 @@
method: 'POST',
headers: {
'X-WP-Nonce': window.auth.getNonce(),
- 'action_nonce': window.auth.getNonce('dash'),
+ 'X-Action-Nonce': window.auth.getNonce('dash'),
},
body: {
notification: notificationId,
@@ -339,7 +339,7 @@
const response = await fetch(`${jvbSettings.api}notifications?${params.toString()}`, {
headers: {
'X-WP-Nonce': window.auth.getNonce(),
- 'action_nonce': window.auth.getNonce('dash'),
+ 'X-Action-Nonce': window.auth.getNonce('dash'),
'If-Modified-Since': this.lastCheck,
}
});
--
Gitblit v1.10.0