PluginProbe
Elementor Website Builder – more than just a page builder / trunk
Elementor Website Builder – more than just a page builder vtrunk
4.3.4 4.3.3 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 All 457 releases
← All changes | modules/atomic-widgets/css-converter/converters/background-layer-field-converter.php +5 -1 4.2.0-beta1 → trunk View file →
@@ -74,9 +74,13 @@
74 74 protected function get_supported_properties(): array {
75 75 return [ $this->property ];
76 76 }
77 77
78 - public function convert( Conversion_Context $context, array $rule ): bool {
78 + protected function convert_null( Conversion_Context $context, array $rule ): bool {
79 + return true;
80 + }
81 +
82 + protected function do_convert( Conversion_Context $context, array $rule ): bool {
79 83 $overlay_items = $this->get_overlay_items( $context );
80 84 $image_indices = array_keys(
81 85 array_filter( $overlay_items, fn( $item ) => Background_Image_Overlay_Prop_Type::get_key() === ( $item['$$type'] ?? null ) )
82 86 );