From f4be611c51473359e6d41780f0313c446079e9d3 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Tue, 09 Jun 2026 15:19:24 +0000
Subject: [PATCH] =Switched the /base/options.php to the same pattern as Site.php: a class based approached rather than a filter. Updated Meta.php to play along with the defined fields from there in Meta::forOptions. Had to change openingHoursSpecificationsTrait.php to not use the translater functions __('text','textdomain') for now, as we load before init.

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