From b0194e10a87e16797a568d8a30d53ebecd27d8a4 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sat, 18 Oct 2025 15:04:51 +0000
Subject: [PATCH] =DataStore.js and UploaderManager.js overhaul
---
templates/dashboard/sections/favourites.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/templates/dashboard/sections/favourites.php b/templates/dashboard/sections/favourites.php
index ec3e363..8fca5b7 100644
--- a/templates/dashboard/sections/favourites.php
+++ b/templates/dashboard/sections/favourites.php
@@ -3,7 +3,7 @@
exit; // Exit if accessed directly
}
if (!current_user_can('can_favourite')) {
- wp_redirect(get_home_url(2, '/dash'));
+ wp_redirect(get_home_url(null, '/dash'));
exit;
}
--
Gitblit v1.10.0