From 22e1bb3fcc3b3db1c0f5c2e6a4aecaf408c307a5 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 04 Jan 2026 18:29:46 +0000
Subject: [PATCH] Merge branch 'main' of https://github.com/jakevdwerf/jvb
---
inc/utility/Features.php | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/inc/utility/Features.php b/inc/utility/Features.php
index d5f76bb..422bad3 100644
--- a/inc/utility/Features.php
+++ b/inc/utility/Features.php
@@ -752,6 +752,7 @@
public static function getConfig(string $slug, ?string $type = null): array
{
+ $slug = jvbNoBase($slug);
$all = ['post', 'content', 'taxonomy', 'user'];
$types = (!$type || !in_array($type, $all)) ? $all : [$type];
--
Gitblit v1.10.0