Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#30282 closed defect (bug) (wontfix)

Delete oEmbed cache when updating post

Reported by: michaelheuberger's profile michael.heuberger Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.0
Component: Embeds Keywords:
Focuses: Cc:


It looks like that Wordpress is not invalidating nor deleting the oEmbed cache when a post is being updated.

Using the latest version here and the posts have external links to other sites hosting videos. I am developing my own plugin here.

Change History (2)

#1 @helen
10 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

This was on purpose, see #14759. I would suggest handling the delete yourself if you need it while in development - the WP_Embed::delete_oembed_caches() method is still there. Doing it with every post save was a bad experience for the majority, do not do it unilaterally in a distributed plugin.

#2 @ivanp
10 years ago

Hi Helen, I was just submitting related issue on this one. Please see #30720

Note: See TracTickets for help on using tickets.