From 1b5d8bf5f369442208ee355fe47dd84e45dc3b7d Mon Sep 17 00:00:00 2001 From: Jon Shipman Date: Wed, 3 Jun 2020 14:39:48 -0500 Subject: [PATCH] html_entity_decode for strings in Settings (redux) --- src/Type/Object/Settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Type/Object/Settings.php b/src/Type/Object/Settings.php index 210934521..78e489425 100644 --- a/src/Type/Object/Settings.php +++ b/src/Type/Object/Settings.php @@ -97,7 +97,7 @@ public static function get_fields() { $option = absint( $option ); break; case 'string': - $option = ! empty( $option ) ? (string) $option : ''; + $option = ! empty( $option ) ? html_entity_decode( (string) $option ) : ''; break; case 'boolean': $option = (bool) $option;