diff --git a/src/Shortcode/ResultOutputItemPart.php b/src/Shortcode/ResultOutputItemPart.php index e9b312b58..0547be6b4 100644 --- a/src/Shortcode/ResultOutputItemPart.php +++ b/src/Shortcode/ResultOutputItemPart.php @@ -47,7 +47,7 @@ public function callback(array $atts, string $content): string $name = isset($params['name']) ? \esc_html($params['name']) : ''; - if (!$name || !$content) { + if ($name === '') { return ''; }