Skip to content

Commit 74e73b4

Browse files
Image block: remove duplicate data-wp-bind--srcset in the lightbox overlay
The enlarged <img> in block_core_image_print_lightbox_overlay() declares data-wp-bind--srcset="state.enlargedSrcset" twice. Removes the duplicate (no behavior change).
1 parent 0a9838d commit 74e73b4

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎src/wp-includes/blocks/image.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)