From 235ce5716edc2f7cbe80fdccf26eac7269587839 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Mon, 08 Jun 2026 04:38:18 +0000
Subject: [PATCH] =FavouritesManager.php and FavouritesRoutes.php fixes. Moving all logic to FavouritesManager.php. Still some left to do
---
templates/dashboard/sections/shop.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/templates/dashboard/sections/shop.php b/templates/dashboard/sections/shop.php
index 52205ea..2dccd94 100644
--- a/templates/dashboard/sections/shop.php
+++ b/templates/dashboard/sections/shop.php
@@ -4,7 +4,7 @@
}
if (!current_user_can('manage_shop')) {
- wp_redirect(get_home_url(2, '/dash'));
+ wp_redirect(get_home_url(null, '/dash'));
exit;
}
--
Gitblit v1.10.0