From 74e73b4f732fcab37d88fff2a1d9626e133fc48c Mon Sep 17 00:00:00 2001 From: lonesahilnazir Date: Sun, 14 Jun 2026 15:18:48 +0530 Subject: [PATCH] Image block: remove duplicate data-wp-bind--srcset in the lightbox overlay The enlarged in block_core_image_print_lightbox_overlay() declares data-wp-bind--srcset="state.enlargedSrcset" twice. Removes the duplicate (no behavior change). --- src/wp-includes/blocks/image.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/wp-includes/blocks/image.php b/src/wp-includes/blocks/image.php index 22b0ecc2aea33..4b5512fd11a41 100644 --- a/src/wp-includes/blocks/image.php +++ b/src/wp-includes/blocks/image.php @@ -390,7 +390,6 @@ class="wp-lightbox-overlay zoom" data-wp-bind--style="state.imgStyles" data-wp-bind--src="state.enlargedSrc" data-wp-bind--srcset="state.enlargedSrcset" - data-wp-bind--srcset="state.enlargedSrcset" sizes="100vw" >