diff --git a/src/voku/helper/Hooks.php b/src/voku/helper/Hooks.php index 94d8daf..28ed454 100644 --- a/src/voku/helper/Hooks.php +++ b/src/voku/helper/Hooks.php @@ -923,7 +923,7 @@ public function has_shortcode($content, $tag) foreach ($matches as $shortcode) { if ($tag === $shortcode[2]) { return true; - } elseif ( ! empty( $shortcode[5] ) && has_shortcode( $shortcode[5], $tag ) ) { + } elseif ( ! empty( $shortcode[5] ) && $this->has_shortcode( $shortcode[5], $tag ) ) { return true; } }