From bf69b2c2daeb2d5c1f9b1b3dfe99bfb62a739a9a Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Tue, 10 Feb 2026 02:42:15 +0000
Subject: [PATCH] =more CRUDSkeleton
---
inc/meta/Form.php | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/inc/meta/Form.php b/inc/meta/Form.php
index 83c3f8c..2ad8dc9 100644
--- a/inc/meta/Form.php
+++ b/inc/meta/Form.php
@@ -87,7 +87,7 @@
// Helper Methods
// ─────────────────────────────────────────────────────────────
- protected static function fieldWrap(string $name, string $content, array $config): string
+ public static function fieldWrap(string $name, string $content, array $config): string
{
$classes = static::buildClasses($config);
$datasets = static::buildDatasets($config);
@@ -208,7 +208,7 @@
return '';
}
- protected static function buildInput(string $content):string
+ public static function buildInput(string $content):string
{
return sprintf(
'<div class="field-input-wrapper">
@@ -516,7 +516,7 @@
$optionsHtml .= sprintf(
'<option value="%s"%s>%s</option>',
esc_attr($optValue),
- selected($value, $optValue),
+ selected($value, $optValue, false),
esc_html($optLabel)
);
}
@@ -590,7 +590,7 @@
esc_attr($name),
$optValue,
esc_attr($optValue),
- checked($value, $optValue),
+ checked($value, $optValue,false),
esc_attr($name),
$optValue,
esc_html($optLabel)
--
Gitblit v1.10.0