diff --git a/inc/class-settings.php b/inc/class-settings.php index cbb4929..63e667b 100644 --- a/inc/class-settings.php +++ b/inc/class-settings.php @@ -196,12 +196,13 @@ final class Settings { echo implode('
', array_map( fn (object $option):string => sprintf( - '', + '', esc_attr(Plugin::get_id()), esc_attr($name), esc_attr($option->name), checked($this->is_checked($name, $option->name), display: false), - esc_html($option->label) + esc_html($option->label), + esc_html($option->name) ), $options ));