From 0ae554c1787fe77a0e8488e683b800b1f343e06c Mon Sep 17 00:00:00 2001
From: Pedro de Carvalho <p@43.lc>
Date: Thu, 19 Oct 2023 12:31:51 +0100
Subject: [PATCH 1/1] Fix missing properties

---
 lib/codestar-framework/classes/fields.class.php          | 5 +++++
 lib/codestar-framework/classes/metabox-options.class.php | 2 ++
 lib/codestar-framework/fields/wp_editor/wp_editor.php    | 1 +
 3 files changed, 8 insertions(+)

diff --git a/lib/codestar-framework/classes/fields.class.php b/lib/codestar-framework/classes/fields.class.php
index 060d72c..1e2a5ec 100755
--- a/lib/codestar-framework/classes/fields.class.php
+++ b/lib/codestar-framework/classes/fields.class.php
@@ -9,6 +9,11 @@
  */
 if ( ! class_exists( 'CSF_Fields' ) ) {
   abstract class CSF_Fields extends CSF_Abstract {
+    public $field;
+    public $value;
+    public $unique;
+    public $where;
+    public $parent;
 
     public function __construct( $field = array(), $value = '', $unique = '', $where = '', $parent = '' ) {
       $this->field  = $field;
diff --git a/lib/codestar-framework/classes/metabox-options.class.php b/lib/codestar-framework/classes/metabox-options.class.php
index 4d9ad7d..c9470e7 100755
--- a/lib/codestar-framework/classes/metabox-options.class.php
+++ b/lib/codestar-framework/classes/metabox-options.class.php
@@ -16,6 +16,8 @@ if ( ! class_exists( 'CSF_Metabox' ) ) {
     public $sections       = array();
     public $pre_fields     = array();
     public $post_type      = array();
+    public $post_formats   = array();
+    public $page_templates = array();
     public $args           = array(
       'title'              => '',
       'post_type'          => 'post',
-- 
2.25.1

