PluginProbe
Elementor Website Builder – more than just a page builder / 4.3.0-beta3
Elementor Website Builder – more than just a page builder v4.3.0-beta3
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 4.0.8 4.1.0-beta1 4.1.0-dev1 All 452 releases
← All changes | modules/components/circular-dependency-validator.php +2 -1 4.1.04.3.0-beta3 View file →
@@ -3,8 +3,9 @@
3 3 namespace Elementor\Modules\Components;
4 4
5 5 use Elementor\Core\Utils\Collection;
6 6 use Elementor\Modules\Components\Documents\Component as Component_Document;
7 +use Elementor\Modules\Components\PropTypes\Component_Instance_Prop_Type;
7 8 use Elementor\Plugin;
8 9
9 10 if ( ! defined( 'ABSPATH' ) ) {
10 11 exit;
@@ -144,9 +145,9 @@
144 145 return array_unique( $ids, SORT_REGULAR );
145 146 }
146 147
147 148 private function extract_component_id_from_settings( array $settings ) {
148 - return $settings['component_instance']['value']['component_id']['value'] ?? null;
149 + return Component_Instance_Prop_Type::extract_component_id( $settings );
149 150 }
150 151
151 152 private function build_error_response( $component_id, $via_component_id = null ): array {
152 153 if ( null === $via_component_id ) {