Jake Vanderwerf
2026-02-09 c910ace4342b0c337490af8cfd3c431a36b6feae
inc/meta/Form.php
@@ -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)
@@ -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);
   }