You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Duplicate data-wp-bind--srcset="state.enlargedSrcset" in wp-includes/blocks/image.php #79200
The data-wp-bind--srcset directive is emitted twice, identically. Harmless at runtime but it's a copy-paste artifact (duplicate attribute is invalid HTML and will be flagged by linters/validators).
Step-by-step reproduction instructions
Go to "/packages/block-library/src/image/index.php"
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
Please confirm which theme type you used for testing.
Duplicated attribute was introduced in #62906 via 676fabe. Specifically, it seems the duplicated attribute was introduced as part of some conflict resolution as I see it was added via a merge commit: 189a2cc.
Activity
westonruter commentedon Jun 16, 2026
Duplicated attribute was introduced in #62906 via 676fabe. Specifically, it seems the duplicated attribute was introduced as part of some conflict resolution as I see it was added via a merge commit: 189a2cc.