inc/managers/CRUDManager.php
@@ -75,7 +75,12 @@ $this->skeleton->setCalendar(); } if ($this->registrar && $this->registrar->getType() === 'post') { $this->skeleton->setDefaultStatus(); } else { $this->skeleton->setStatuses([]); } // Views $this->skeleton @@ -154,7 +159,7 @@ * Initialize taxonomies from WordPress config */ protected function initTaxonomies(): void { $this->taxonomies = $this->registrar->registrar->taxonomies; $this->taxonomies = ($this->registrar->getType() === 'post') ? $this->registrar->registrar->taxonomies : []; } /**