has_shortcode not recognizing nested shortcodes
|Reported by:||sunyatasattva||Owned by:|
The function has_shortcode doesn't detect nested shortcode, such as:
As we know, nested shortcodes don't benefit from stellar support in the core, as you have to call do_shortcode() recursively on the block shortcode's content.
There would be different ways to approach the problem (like changing the RegEx on the function); I think aiming for a consistent approach with a recursive lookup might be the best idea.
Change History (8)
comment:1 sunyatasattva — 3 months ago
- Component changed from General to Shortcodes
- Keywords has-patch added