From c4aa5cdb5e90ad4b420e22772797d16980232a2b Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Wed, 15 Apr 2026 18:38:55 +0000
Subject: [PATCH] =Updating custom tables to utilize CustomTable.php
---
inc/blocks/TimelineBlock.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/inc/blocks/TimelineBlock.php b/inc/blocks/TimelineBlock.php
index e2831d4..849ce91 100644
--- a/inc/blocks/TimelineBlock.php
+++ b/inc/blocks/TimelineBlock.php
@@ -48,7 +48,7 @@
public function render(array $attributes, string $content, WP_Block $block)
{
global $post;
- $registrar = Registrar::getInstance($post->post_type));
+ $registrar = Registrar::getInstance($post->post_type);
if (!$post || !$registrar || !$registrar->hasFeature('is_timeline') ) {
return '';
}
--
Gitblit v1.10.0