inc/meta/MetaManager.php
@@ -506,6 +506,7 @@ if (!empty($this->fields)) { return $this->fields; } $type = false; switch ($this->object_type) { case 'post': $type = get_post_type((int)$this->object_id); @@ -519,6 +520,9 @@ case 'options': return jvbGetFields('options'); } if (!$type) { return []; } return jvbGetFields($type, $this->object_type); } @@ -546,6 +550,7 @@ protected function getSections():array { $type = false; switch ($this->object_type) { case 'post': $type = get_post_type((int)$this->object_id);