From 46d681c6b825d21b3f698d793c4e630c687d90ad Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Thu, 21 May 2026 21:41:53 +0000
Subject: [PATCH] =Major CustomBlocks.php overhaul, expanding block support and customization from the editor. theme.json should now be updated on new themes to set brand colours, etc. Also note: major change to .col vs .row alignment: simplifying it to .top .bottom vs the confusion of the differences for .col/.row .start and .a-start
---
inc/admin/ContentTaxonomy.php | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/inc/admin/ContentTaxonomy.php b/inc/admin/ContentTaxonomy.php
index fcbca46..399d3ac 100644
--- a/inc/admin/ContentTaxonomy.php
+++ b/inc/admin/ContentTaxonomy.php
@@ -6,7 +6,6 @@
}
use JVBase\registrar\Registrar;
-use JVBase\registry\TaxonomyRegistrar;
use WP_Error;
use Exception;
@@ -51,7 +50,7 @@
// Handle individual taxonomy rebuild
if (isset($_POST['rebuild_taxonomy']) && wp_verify_nonce($_POST['_wpnonce'], 'rebuild_taxonomy')) {
$taxonomy = sanitize_text_field($_POST['taxonomy']);
- $registrar = Registrar::getInstance($taxonomy));
+ $registrar = Registrar::getInstance($taxonomy);
if ($registrar && $registrar->hasFeature('is_content')) {
$results = $this->rebuildCustomTable($taxonomy);
// Store results in transient to display after redirect
@@ -291,7 +290,7 @@
<?php foreach ($results['details'] as $taxonomy => $detail): ?>
<details>
- <summary class="row btw">
+ <summary class="row x-btw">
<strong><?= esc_html(ucfirst($taxonomy)) ?></strong>
<?php if ($detail['errors'] === 0): ?>
<span style="color: green;">✓ Success</span>
@@ -324,7 +323,7 @@
];
// Check if this is a content taxonomy
- $registrar = Registrar::getInstance($taxonomy));
+ $registrar = Registrar::getInstance($taxonomy);
if (!$registrar->hasFeature('is_content')) {
$results['messages'][] = "Taxonomy {$taxonomy} is not a content taxonomy";
return $results;
--
Gitblit v1.10.0