Changes between Initial Version and Version 1 of Ticket #42437, comment 12
- Timestamp:
- 05/15/2018 10:11:29 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #42437, comment 12
initial v1 29 29 only to find out that `$id_for_intermediate` was the ID for a previously uploaded file named `foo-150x150.jpg`. That is, the `if ( $post_id ) {}` test at the top of my filter func was succeeding because there was an unknown to me attachment with `_wp_attached_file` postmeta with `meta_value = 'foo-150x150.jpg'`) :-( 30 30 31 So, in addition to the serious data loss issue of previous uploads being overwritten identified in this ticket, the name collision problems between original image filenames and generated intermediate size filenames can have other undesirable "downstream" effects.31 So, in addition to the serious data loss issue of previous uploads being overwritten identified in this ticket, the name collision problems between original image filenames containing "dimension"-like sub-strings and generated intermediate size filenames can have other undesirable "downstream" effects. 32 32