[wp-trac] [WordPress Trac] #33011: Uploading a 512 x 512 site icon creates a duplicated image in the media library

WordPress Trac noreply at wordpress.org
Wed Jul 22 01:20:37 UTC 2015


#33011: Uploading a 512 x 512 site icon creates a duplicated image in the media
library
----------------------------+-----------------------
 Reporter:  stuartshields   |       Owner:  obenland
     Type:  enhancement     |      Status:  assigned
 Priority:  normal          |   Milestone:  4.3
Component:  Administration  |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:  dev-feedback    |     Focuses:
----------------------------+-----------------------

Comment (by netweb):

 Trac is now down for me, this is what I was going to add to the ticket:
 > I cannot reproduce this as of r33352
 >
 > Tested this 3 times just now, twice uploading a new 512x512 and one at
 600x600, the larger gets cropped to 512x512 with files prefixed with
 `cropped-`, the original 512x512 files are used with no duplicates created
 of file name changes, works as expected.
 >
 > Also tested header image behaviour, using a 954x1300 header image for
 Twenty Fifteen, uploading an exact dimension file then this file is used
 as is, uploading a larger dimension file the image is cropped and prefixed
 with `cropped-`, works as expected.
 >
 > A changeset overnight that is alluding me has changed the behaviour here
 per the original report and now everything works as expected for me.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33011#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list