PluginProbe
Elementor Website Builder – more than just a page builder / 4.3.2
Elementor Website Builder – more than just a page builder v4.3.2
4.3.2 4.3.1 4.3.0 4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 All 455 releases
← All changes | modules/mcp/abilities/utils/llm-guidance-builder.php +2 -1 4.3.0-beta1 → 4.3.2 View file →
@@ -59,9 +59,10 @@
59 59 }
60 60
61 61 private static function build_nesting( array $config, string $widget_type, array $parents_index ): array {
62 62 $allowed_child_types = $config['allowed_child_types'] ?? [];
63 - $allowed_parents = $parents_index[ $widget_type ] ?? [];
63 + $emit_allowed_parents = empty( $config['show_in_panel'] );
64 + $allowed_parents = $emit_allowed_parents ? ( $parents_index[ $widget_type ] ?? [] ) : [];
64 65
65 66 return array_filter(
66 67 [
67 68 'allowed_child_types' => empty( $allowed_child_types ) ? null : $allowed_child_types,