Skip to content

Commit 51ef9ec

Browse files
lonesahilnazirlonesahilnazir
andauthored
Image block: remove duplicate data-wp-bind--srcset in the lightbox overlay (#79202)
The enlarged <img> in block_core_image_print_lightbox_overlay() declares data-wp-bind--srcset="state.enlargedSrcset" twice. Removes the duplicate (no behavior change). Co-authored-by: lonesahilnazir <lonesahilnazir@git.wordpress.org>
1 parent 0199a9d commit 51ef9ec

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎packages/block-library/src/image/index.php‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,6 @@ class="wp-lightbox-overlay zoom"
390390
data-wp-bind--style="state.imgStyles"
391391
data-wp-bind--src="state.enlargedSrc"
392392
data-wp-bind--srcset="state.enlargedSrcset"
393-
data-wp-bind--srcset="state.enlargedSrcset"
394393
sizes="100vw"
395394
>
396395
</figure>

0 commit comments

Comments
 (0)