From ba1e1ccf869b818f7a7a897264dfea05563a7796 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 07 Jun 2026 20:10:20 +0000
Subject: [PATCH] =Major overhaul of Integrations. Playing around with adding fields to post types through Registrar from an integrations' class file.
---
inc/admin/ContentTaxonomy.php | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/inc/admin/ContentTaxonomy.php b/inc/admin/ContentTaxonomy.php
index 73476d4..0863a1e 100644
--- a/inc/admin/ContentTaxonomy.php
+++ b/inc/admin/ContentTaxonomy.php
@@ -17,7 +17,7 @@
{
public function __construct()
{
- if (empty(Registrar::getFeatured('is_content', 'term'))){
+ if (empty(Registrar::withFeature('is_content', 'term'))){
return;
}
add_filter(BASE.'handle_bulk_operation', [ $this, 'processOperation' ], 10, 3);
@@ -124,7 +124,7 @@
</thead>
<tbody>
<?php
- $taxonomies = Registrar::getFeatured('is_content', 'term');
+ $taxonomies = Registrar::withFeature('is_content', 'term');
foreach ($taxonomies as $slug):
$registrar = Registrar::getInstance($slug);
$taxonomy = BASE . $slug;
@@ -290,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>
--
Gitblit v1.10.0