#30282 closed defect (bug) (wontfix)
Delete oEmbed cache when updating post
Reported by: | michael.heuberger | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.0 |
Component: | Embeds | Keywords: | |
Focuses: | Cc: |
Description
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)
Note: See
TracTickets for help on using
tickets.
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.