diff --git a/abstracts b/abstracts index a42bd3980028ac038ad883e909c1275472cecc59..4388d7c035f4dc968443fafe64582e6bbf471373 160000 --- a/abstracts +++ b/abstracts @@ -1 +1 @@ -Subproject commit a42bd3980028ac038ad883e909c1275472cecc59 +Subproject commit 4388d7c035f4dc968443fafe64582e6bbf471373 diff --git a/includes/class-settings.php b/includes/class-settings.php index 82577286c9012487f5c68c74ed926a84e4f9c48b..d23a4fc8dd97f960dd07bd0040052eda5b0d468a 100644 --- a/includes/class-settings.php +++ b/includes/class-settings.php @@ -115,11 +115,12 @@ class Settings extends BaseSettings private function render_forms_dropdown($setting, $field, $value) { + $setting_name = $this->setting_name($setting); $forms = self::get_forms(); $options = array_merge(['<option value=""></option>'], array_map(function ($form) use ($value) { $selected = $form->id == $value ? 'selected' : ''; return "<option value='{$form->id}' {$selected}>{$form->title}</option>"; }, $forms)); - return "<select name='{$setting}[{$field}]'>" . implode('', $options) . '</select>'; + return "<select name='{$setting_name}[{$field}]'>" . implode('', $options) . '</select>'; } } diff --git a/wpct-http-bridge b/wpct-http-bridge index f625b3c83f952ff5e2d7c9d10453bab2bed146e3..98b6d9e3729ef61c1c7fafd73e23f793633d2062 160000 --- a/wpct-http-bridge +++ b/wpct-http-bridge @@ -1 +1 @@ -Subproject commit f625b3c83f952ff5e2d7c9d10453bab2bed146e3 +Subproject commit 98b6d9e3729ef61c1c7fafd73e23f793633d2062 diff --git a/wpct-i18n b/wpct-i18n index dfda2d8fc482fc8c8ccbd6e44f77578edd11d88b..198c261d40fd41f0e0c3419ec18f5e7644766cb4 160000 --- a/wpct-i18n +++ b/wpct-i18n @@ -1 +1 @@ -Subproject commit dfda2d8fc482fc8c8ccbd6e44f77578edd11d88b +Subproject commit 198c261d40fd41f0e0c3419ec18f5e7644766cb4