Changes between Initial Version and Version 1 of Ticket #62388, comment 6
- Timestamp:
- 08/19/2026 06:34:55 AM (3 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #62388, comment 6
initial v1 1 Opened [PR #12232](https://github.com/WordPress/wordpress-develop/pull/12232) to address this ticket. Summary - add explicit crop-aware filename suffixes when multiple generated image sizes share the same target dimensions - keep normal sub-size filenames unchanged unless there is a duplicate-dimension collision risk - add a regression test covering duplicate cropped sizes generated during attachment metadata creation Testing - php -l src/wp-admin/includes/image.php - php -l src/wp-includes/class-wp-image-editor-gd.php - php -l src/wp-includes/class-wp-image-editor-imagick.php - php -l tests/php The PR includes focused regression coverage, and its validation details are recorded in the PR description.1 Opened [PR #12232](https://github.com/WordPress/wordpress-develop/pull/12232) to address this ticket. It adds crop-aware filename suffixes when generated image sizes share target dimensions, preserves normal filenames otherwise, and adds regression coverage for duplicate cropped sizes. 2 2 3 I picked this up because the ticket describes a concrete core behavior or edge case that remains relevant in current WordPress. The proposed change is intentionally scoped to the ticket and is submitted here for code review, with the technical discussion remaining on this ticket.3 I picked this up because the ticket describes a media-filename collision edge case that remains relevant in current WordPress. The change is scoped to the ticket and submitted here for code review.