Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
nuritsha committed Jan 1, 2025
1 parent ee19c01 commit c009c7f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/content/classes/render/widget-flex-hero-render.php
Original file line number Diff line number Diff line change
Expand Up @@ -262,16 +262,16 @@ public function render_image() {
'class' => $image_wrapper_classnames,
] );

if ( $has_image ):
?>
if ( $has_image ) :
?>
<div <?php $this->widget->print_render_attribute_string( 'image' ); ?>>
<?php
add_filter( 'elementor/image_size/get_attachment_image_html', [ $this, 'get_attachment_image_html_filter' ], 10, 4 );
Group_Control_Image_Size::print_attachment_image_html( $this->settings, 'image' );
remove_filter( 'elementor/image_size/get_attachment_image_html', [ $this, 'get_attachment_image_html_filter' ], 10 );
?>
</div>
<?php
<?php
endif; //has_image
}
}

0 comments on commit c009c7f

Please sign in to comment.