We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a80e45d commit 08c7699Copy full SHA for 08c7699
src/Handlers/FeedShortcode/FeedsShortcodeHandler.php
@@ -43,7 +43,11 @@ public function __invoke($args = [])
43
{
44
// Decode HTML entities in the arguments
45
$args = is_array($args) ? $args : [];
46
- $args = array_map('html_entity_decode', $args);
+ foreach ($args as $key => $value) {
47
+ if (is_string($value)) {
48
+ $args[$key] = html_entity_decode($value);
49
+ }
50
51
// Render the template
52
$result = $this->template->render($args);
53
0 commit comments