From 01e9a8e40351a87f6548a4f55de842d6f6918ad0 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Tue, 15 Sep 2026 02:44:28 +0000
Subject: [PATCH] =Found little glitch with auto-adding rewrite rules to taxonomy Registrar instances where we have the post type as the base in the url rewrite

---
 inc/helpers/ui.php |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/inc/helpers/ui.php b/inc/helpers/ui.php
index 9ea9e3b..c9872d2 100644
--- a/inc/helpers/ui.php
+++ b/inc/helpers/ui.php
@@ -207,9 +207,14 @@
     return $out;
 }
 
-
 /**
  * Outputs the search bar (likely don't need anymore)
+ * @param string $placeholder
+ * @param string $id
+ * @param string $label
+ * @param string $buttonText
+ * @param bool $buttonInside
+ * @param bool $hideSearch
  * @return string
  */
 function jvbSearch(string $placeholder = 'Search...', string $id = 'search', string $label = '', string $buttonText = '', bool $buttonInside = false, bool $hideSearch = false):string
@@ -248,11 +253,12 @@
 }
 
 /**
- * Formats an image to match our image replacement formatting
- * @param int|string $imgID
+ *  Formats an image to match our image replacement formatting
+ * @param int $imgID
  * @param string $start
  * @param string $end
- *
+ * @param bool $addLink
+ * @param string|null $postSlug
  * @return string
  */
 function jvbFormatImage(int $imgID, string $start = 'tiny', string $end = 'large', bool $addLink = true, ?string $postSlug = null):string

--
Gitblit v1.10.0