[wp-trac] [WordPress Trac] #40688: there is a bug in deleting a photo and replacing it by the new photo with the same name

WordPress Trac noreply at wordpress.org
Fri May 8 02:36:28 UTC 2026


#40688: there is a bug in deleting a photo and replacing it by the new photo with
the same name
-------------------------------+-------------------------
 Reporter:  Navid.abazari      |       Owner:  (none)
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Media              |     Version:  4.7.4
 Severity:  normal             |  Resolution:  worksforme
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+-------------------------
Changes (by joedolson):

 * status:  new => closed
 * resolution:   => worksforme
 * milestone:  Awaiting Review =>


Comment:

 With no follow-up, I'm inclined to close this as 'worksforme'. Please feel
 free to comment if you feel this is still an issue that needs to be
 addressed.

 However, based on the description, it sounds like either a situation that
 WordPress doesn't address (replacing image URLs when an image is replaced)
 or a caching issue, as even if you replace an image with one of the same
 name, your browser may still deliver the previous image temporarily, due
 to browser caching.

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


More information about the wp-trac mailing list