From a24a06002081ad71a78ffeff9072725ba39cf121 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Tue, 17 Feb 2026 20:05:31 +0000
Subject: [PATCH] =minor changes, particularly around the JVB_CHILD_URL pattern
---
inc/managers/SEO/TemplateResolver.php | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/inc/managers/SEO/TemplateResolver.php b/inc/managers/SEO/TemplateResolver.php
index 1d8534a..cda61ed 100644
--- a/inc/managers/SEO/TemplateResolver.php
+++ b/inc/managers/SEO/TemplateResolver.php
@@ -384,7 +384,7 @@
// Check field definitions for taxonomy or post relations
if (isset($this->fieldDefinitions[$relation])) {
$fieldDef = $this->fieldDefinitions[$relation];
- $value = $this->meta->getValue($relation);
+ $value = $this->meta->get($relation);
if (!$value) {
return null;
@@ -451,7 +451,7 @@
// Image URL accessors for different sizes
if (str_ends_with($variable, '_image_url')) {
$field = str_replace('_image_url', '', $variable);
- $imageId = $this->meta?->getValue($field);
+ $imageId = $this->meta?->get($field);
if ($imageId) {
return wp_get_attachment_image_url($imageId, 'full') ?: '';
}
@@ -501,7 +501,7 @@
*/
private function resolveLocationComponent(string $component): string
{
- $location = $this->meta?->getValue('location');
+ $location = $this->meta?->get('location');
if (!is_array($location)) {
return '';
--
Gitblit v1.10.0