From e729f920139f0c65902be2d6b2c32466b08375e8 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Mon, 20 Oct 2025 17:54:52 +0000
Subject: [PATCH] =Form updates

---
 inc/registry/PostTypeRegistrar.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/inc/registry/PostTypeRegistrar.php b/inc/registry/PostTypeRegistrar.php
index e6f7272..9bd39c6 100644
--- a/inc/registry/PostTypeRegistrar.php
+++ b/inc/registry/PostTypeRegistrar.php
@@ -34,7 +34,7 @@
 		$args = [
 			'labels'              => $this->buildLabels($singular, $plural),
 			'public'              => $this->config['public'] ?? true,
-			'publicly_queryable'  => $this->config['publicly_queryable'] ?? true,
+			'publicly_queryable'  => $this->config['publicly_queryable'] ?? $this->config['public'] ?? true,
 			'show_ui'             => $this->config['show_ui'] ?? true,
 //			'show_in_menu'        => false,
 			'show_in_menu'        => $this->config['show_in_menu'] ?? true,

--
Gitblit v1.10.0