Opened 11 years ago
Last modified 6 years ago
#27860 new feature request
Media Upload: Incorrect renaming increment for retina files
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Future Release | Priority: | normal |
Severity: | normal | Version: | 3.9 |
Component: | Upload | Keywords: | needs-patch |
Focuses: | administration | Cc: |
Description (last modified by )
If a file is uploaded myimgage.png
and then a second image is uploaded with the same name the file is renames myimgage.png
to myimgage1.png
this is fine.
However if a Retina image is uploaded using the Apple retina standard @2x i.e. myimage@2x.png
The increment is myimage@2x1.png
this is not correct and should be myimage1@2x.png
Should be myimage[[prefex]]@2x.png
NOT myimage@2x[[prefex]].png
Change History (4)
Note: See
TracTickets for help on using
tickets.
Wordpress Media Library doesn't handles retina images naming convention, as far as I know. You can handle it with
wp_handle_upload_prefilter
probably.