From fe1ff96dbc757e3f48422ae04251faca63017632 Mon Sep 17 00:00:00 2001 From: Cooper Dalrymple Date: Tue, 3 Mar 2026 14:02:49 -0600 Subject: [PATCH] Add name slugs to admin ui --- inc/class-settings.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 )); -- 2.39.5