Resources are not loaded for nested shortcodes - breaks usage with Divi, Avada, etc.
Which basically makes it impossible to use civicrm shortcodes with a large number of builders.
Basically this is because the pattern in get_shortcode_regex() only works on shortcodes at the top level:
https://github.com/civicrm/civicrm-wordpress/blob/5.39.0/includes/civicrm.shortcodes.php#L674-L680
Proposition is to either replace the pattern with a much simpler $pattern = '\[civicrm[^\w-][^]]*\]';
– or add a lookahead which will match only civicrm shortcodes ($pattern = '(?=\[\[?civicrm)' . get_shortcode_regex();
) in case we need the attributes from the regex itself - although as far as I can tell it only needs a count.
Agileware ref CIVICRM-1795