#30282 closed defect (bug) (wontfix)
Delete oEmbed cache when updating post
| Reported by: | michael.heuberger | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Embeds | Version: | 4.0 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.