diff --git a/src/admin/layout/class-engine.php b/src/admin/layout/class-engine.php index b6286bb..dcdd26f 100644 --- a/src/admin/layout/class-engine.php +++ b/src/admin/layout/class-engine.php @@ -417,11 +417,11 @@ abstract class Engine { protected function add_select_box( string $setting_name, array $options ): string { // Collect data for given settings field. $data = $this->load_setting( $setting_name ); - $options = ''; + $select_options = ''; // Loop through all array keys. foreach ( $options as $value => $caption ) { - $options .= sprintf( + $select_options .= sprintf( '', $value, // Only check for equality, not identity, WRT backlink symbol arrows. @@ -435,7 +435,7 @@ abstract class Engine { '', $data['name'], $data['id'], - $options + $select_options ); }