← All changes
|
modules/components/transformers/component-instance-transformer.php
+2
-0
4.2.1
→
4.3.0-beta3
View file →
| @@ -8,8 +8,9 @@ | ||
| 8 | 8 | use Elementor\Plugin; |
| 9 | 9 | use Elementor\Core\Base\Document as Component_Document; |
| 10 | 10 | use Elementor\Modules\Components\Components_Repository; |
| 11 | 11 | use Elementor\Modules\Components\Utils\Format_Component_Elements_Id; |
| 12 | +use Elementor\Modules\Components\Utils\Reconcile_Component_Instance_Elements; | |
| 12 | 13 | use Elementor\Modules\Components\Widgets\Component_Instance; |
| 13 | 14 | |
| 14 | 15 | if ( ! defined( 'ABSPATH' ) ) { |
| 15 | 16 | exit; // Exit if accessed directly. |
| @@ -56,8 +57,9 @@ | ||
| 56 | 57 | $data = $component->get_elements_data(); |
| 57 | 58 | |
| 58 | 59 | $data = apply_filters( 'elementor/frontend/builder_content_data', $data, $component_id ); |
| 59 | 60 | |
| 61 | + $data = Reconcile_Component_Instance_Elements::apply( $data ); | |
| 60 | 62 | $data = Format_Component_Elements_Id::format( $data, [ $instance_element_id ] ); |
| 61 | 63 | |
| 62 | 64 | $content = ''; |
| 63 | 65 | |