From c204185ae86a98994f80010abf35a190c9406739 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 12 Jul 2026 18:08:19 +0000
Subject: [PATCH] =Refactor of Integrations.php. Separated different functionality into traits that classes can use to add that functionality. Hopefully will make maintaining it a little easier. Still have to finish up, as well as refactoring the individual classes to utilize the new system.
---
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