From ac444cba221832c012c0435fdc8339fe9f37febb Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Mon, 11 May 2026 18:35:04 +0000
Subject: [PATCH] =Some changes to the CRUD.js editing, timeline post configuration
---
inc/registrar/Terms.php | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/inc/registrar/Terms.php b/inc/registrar/Terms.php
index eb15874..8fd2bec 100644
--- a/inc/registrar/Terms.php
+++ b/inc/registrar/Terms.php
@@ -91,7 +91,7 @@
* Whether to display a column for the taxonomy on its post type listing screens. Default false
* @var bool
*/
- public bool $show_admin_column;
+ public bool $show_admin_column = true;
/**
* Provide a callback function for the meta box display.
* If not set, post_categories_meta_box() is used for hierarchical taxonomies, and post_tags_meta_box() is used for non-hierarchical.
@@ -113,6 +113,14 @@
* @var array
*/
public array $capabilities;
+
+
+ /**
+ * The URL to the icon to be used for this menu. Pass a base64-encoded SVG using a data URI, which will be colored to match the color scheme — this should begin with 'data:image/svg+xml;base64,'. Pass the name of a Dashicons helper class to use a font icon, e.g.
+ * 'dashicons-chart-pie'. Pass 'none' to leave div.wp-menu-image empty so an icon can be added via CSS. Defaults to use the posts icon.
+ * @var string
+ */
+ public string $menu_icon;
/**
* Triggers the handling of rewrites for this taxonomy. Default true, using $taxonomy as slug. To prevent rewrite, set to false. To specify rewrite rules, an array can be passed with any of these keys:
* slug {string} - Customize the permastruct slug. Default $taxonomy key.
--
Gitblit v1.10.0