Skip to content

Commit

Permalink
[!]: fixed "has_shortcode()"
Browse files Browse the repository at this point in the history
  • Loading branch information
voku committed Aug 29, 2014
1 parent b2c4645 commit 5028fed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/voku/helper/Hooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 5028fed

Please sign in to comment.