From fff721dd185f5b97f7ae7a6e64189e55887ff590 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 05 Jul 2026 18:36:57 +0000
Subject: [PATCH] =Cleaning up the Square integration (still a bit more to do yet). Also majorly overhauled /rest/ files to ignore a rest request 'user' paramater, and rely on get_current_user_id() instead.
---
base/content.php | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/base/content.php b/base/content.php
index fb5f436..215c697 100644
--- a/base/content.php
+++ b/base/content.php
@@ -18,9 +18,9 @@
* - rewrites = (array) key = associated taxonomy; value = what to append to rewrite base
*/
$defaults = [];
-if (!empty(JVB_SITE) && array_key_exists('has_support', JVB_SITE) && JVB_SITE['has_support'] === true) {
- $defaults = array_merge($defaults, jvb_support_post_type());
-}
+//if (!empty(JVB_SITE) && array_key_exists('has_support', JVB_SITE) && JVB_SITE['has_support'] === true) {
+// $defaults = array_merge($defaults, jvb_support_post_type());
+//}
$content = array_merge($defaults, apply_filters('jvb_content', []));
define('JVB_CONTENT', $content);
--
Gitblit v1.10.0