Make WordPress Core

Opened 6 years ago

Last modified 2 years ago

#44598 new defect (bug)

Main logo won't update when deleted and reuploaded with the same file name

Reported by: mimoho's profile mimoho Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Customize Keywords: needs-testing
Focuses: Cc:

Description

Hello,

I'm experiencing the following bug:
Adding a main gif logo in customizer by the media library and permanently deleting it, obviously does NOT permanently delete it but leaves some traces. When I change the color and/or the image format and reupload the slightly different file WITH THE SAME FILE NAME, WordPress displays the correct resolution in the attachment details along with the old thumbnail. Thus, although the image has been changed and rendered correctly, as I can see in the wp-content folder, the old image gets displayed on the page instead of the new main logo. Same for the cropping option before inserting. Refreshing the page doesn't help.

Regards

Change History (4)

#1 @SergeyBiryukov
6 years ago

  • Component changed from General to Customize

#3 @celloexpressions
3 years ago

  • Keywords needs-testing added

This sounds like either a caching issue or confusion stemming from the duplicated attachment posts created during the crop step. Can anyone reproduce the reported behavior ruling out those possibilities?

This ticket was mentioned in Slack in #core-media by antpb. View the logs.


2 years ago

Note: See TracTickets for help on using tickets.