From a9654f00c8fbc9934289d761843ddd071025013f Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Fri, 28 Aug 2026 17:20:28 +0000
Subject: [PATCH] =PHPStorm Code Inspection: fixed class reference errors (from getting rid of JVB() and replacing with direct class::getInstance; as well as general code sniffing, etc
---
inc/registrar/config/seo/Helpers.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/inc/registrar/config/seo/Helpers.php b/inc/registrar/config/seo/Helpers.php
index a025ff9..0a7f48e 100644
--- a/inc/registrar/config/seo/Helpers.php
+++ b/inc/registrar/config/seo/Helpers.php
@@ -8,7 +8,7 @@
function jvbTSFDoIt(string $slug, ?array $args):bool
{
- if (!class_exists('THE_SEO_Framework')) {
+ if (!class_exists('THE_SEO_Framework') || !function_exists('tsf')) {
return false;
}
$tsf = tsf();
--
Gitblit v1.10.0