[wp-trac] [WordPress Trac] #27860: Media Upload: Incorrect renaming increment for retina files
WordPress Trac
noreply at wordpress.org
Sun Apr 20 22:44:08 UTC 2014
#27860: Media Upload: Incorrect renaming increment for retina files
--------------------------+------------------------------
Reporter: phillbooth | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 3.9
Severity: normal | Resolution:
Keywords: dev-feedback | Focuses:
--------------------------+------------------------------
Description changed by SergeyBiryukov:
Old description:
> 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 at 2x.png
>
> The increment is myimage at 2x1.png this is not correct and should be
> myimage1 at 2x.png
>
> Should be myimage[[prefex]]@2x.png NOT myimage at 2x[[prefex]].png
New description:
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 at 2x.png`
The increment is `myimage at 2x1.png` this is not correct and should be
`myimage1 at 2x.png`
Should be `myimage[[prefex]]@2x.png` NOT `myimage at 2x[[prefex]].png`
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27860#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list