PluginProbe
Elementor Website Builder – more than just a page builder / 4.0.3
Elementor Website Builder – more than just a page builder v4.0.3
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 +1 -2 4.3.0-beta34.0.3 View file →
@@ -3,9 +3,8 @@
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;
8 7 use Elementor\Plugin;
9 8
10 9 if ( ! defined( 'ABSPATH' ) ) {
11 10 exit;
@@ -145,9 +144,9 @@
145 144 return array_unique( $ids, SORT_REGULAR );
146 145 }
147 146
148 147 private function extract_component_id_from_settings( array $settings ) {
149 - return Component_Instance_Prop_Type::extract_component_id( $settings );
148 + return $settings['component_instance']['value']['component_id']['value'] ?? null;
150 149 }
151 150
152 151 private function build_error_response( $component_id, $via_component_id = null ): array {
153 152 if ( null === $via_component_id ) {