--- a/wp/wp-includes/class-wp-block-template.php Wed Sep 21 18:19:35 2022 +0200
+++ b/wp/wp-includes/class-wp-block-template.php Tue Sep 27 16:37:53 2022 +0200
@@ -38,7 +38,7 @@
public $slug;
/**
- * Id.
+ * ID.
*
* @since 5.8.0
* @var string
@@ -78,10 +78,20 @@
public $source = 'theme';
/**
- * Post Id.
+ * Origin of the content when the content has been customized.
+ * When customized, origin takes on the value of source and source becomes
+ * 'custom'.
+ *
+ * @since 5.9.0
+ * @var string
+ */
+ public $origin;
+
+ /**
+ * Post ID.
*
* @since 5.8.0
- * @var integer|null
+ * @var int|null
*/
public $wp_id;
@@ -97,7 +107,42 @@
* Whether a template is, or is based upon, an existing template file.
*
* @since 5.8.0
- * @var boolean
+ * @var bool
*/
public $has_theme_file;
+
+ /**
+ * Whether a template is a custom template.
+ *
+ * @since 5.9.0
+ *
+ * @var bool
+ */
+ public $is_custom = true;
+
+ /**
+ * Author.
+ *
+ * A value of 0 means no author.
+ *
+ * @since 5.9.0
+ * @var int
+ */
+ public $author;
+
+ /**
+ * Post types.
+ *
+ * @since 5.9.0
+ * @var array
+ */
+ public $post_types;
+
+ /**
+ * Area.
+ *
+ * @since 5.9.0
+ * @var string
+ */
+ public $area;
}