From ccf5e61a075c35d24befc175994b5cb8957ca322 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Wed, 26 Aug 2026 21:45:53 +0000
Subject: [PATCH] =Extra JVB() calls replaced, minor tweaks

---
 inc/blocks/CustomBlocks.php |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/inc/blocks/CustomBlocks.php b/inc/blocks/CustomBlocks.php
index 2612fbd..20085fe 100644
--- a/inc/blocks/CustomBlocks.php
+++ b/inc/blocks/CustomBlocks.php
@@ -1405,9 +1405,6 @@
 
 		if (!static::$currentLoop) {
 
-			if (JVB_TESTING) {
-				jvbDump('No loop stored');
-			}
 			return $content;
 		}
 		if (static::$currentLoop->have_posts()) {
@@ -1943,9 +1940,7 @@
 			);
 
 		}
-		if (JVB_TESTING) {
-			jvbDump('Could not create template part block for '.$block['blockName']);
-		}
+
 		return $content;
 
 //		$isHeaderTemplate = (
@@ -2792,6 +2787,9 @@
 					);
 				}
 				return $classes;
+			case 'anchor':
+				//TODO: What's this doing?
+				return '';
             default:
 				if (JVB_TESTING && !is_admin() &&!in_array($key, $this->ignore)) {
 //					TESTING
@@ -3154,7 +3152,9 @@
 					break;
 				}
 				return $this->getColorStyle($value, $type);
-
+			case 'anchor':
+				//TODO: What should we do here?
+				break;
             // Any other attributes that need direct styling
             default:
 				if (JVB_TESTING && !is_admin() && !in_array($key, $this->ignore)) {
@@ -3184,7 +3184,7 @@
 						break;
 					default:
 						if (JVB_TESTING) {
-							jvbDump($value, 'No preset found for size: '.print_r($value, true));
+							error_log('No preset found for size: '.print_r($value, true));
 						}
 				}
 			}

--
Gitblit v1.10.0