From 2d0b98416804d8a132895720c9c33e6061bd6752 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Mon, 09 Feb 2026 00:51:21 +0000
Subject: [PATCH] =Start of SEO Schema refactor, fixing Form.php upload and group fields
---
inc/meta/Form.php | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/inc/meta/Form.php b/inc/meta/Form.php
index f054157..83c3f8c 100644
--- a/inc/meta/Form.php
+++ b/inc/meta/Form.php
@@ -1654,12 +1654,13 @@
foreach ($fields as $fieldName => $fieldConfig) {
$fieldValue = $values[$fieldName] ?? '';
- $fullName = "{$name}:{$fieldName}";
+ $fullName = array_key_exists('wrap', $config) ? $fieldName : "{$name}:{$fieldName}";
$output .= static::render($fullName, $fieldValue, $fieldConfig);
}
$output .= sprintf('</%s>', esc_attr($wrapper));
+ unset($config['label']);
return static::fieldWrap($name, $output, $config);
}
--
Gitblit v1.10.0