Go to file
Weston Ruter 18a231bad6 Embeds: Improve consistency of update and refresh logic for oEmbed caching between `oembed_cache` and post meta.
* Allow updating oEmbed cache during `parse-embed` requests for non-post editors (such as widgets).
* Update any existing `oembed_cache` post when `usecache` and TTL has passed.
* Do not overwrite a previously valid cache with `{{unknown}}`.

Props dlh.
See #34115.
Fixes #42310.


git-svn-id: https://develop.svn.wordpress.org/trunk@42009 602fd350-edb4-49c9-b593-d223f7449a82
2017-10-24 23:09:43 +00:00
src Embeds: Improve consistency of update and refresh logic for oEmbed caching between `oembed_cache` and post meta. 2017-10-24 23:09:43 +00:00
tests Embeds: Improve consistency of update and refresh logic for oEmbed caching between `oembed_cache` and post meta. 2017-10-24 23:09:43 +00:00
tools/i18n
.editorconfig
.gitignore
.jshintrc
.travis.yml
Gruntfile.js
jsdoc.conf.json
package.json
phpunit.xml.dist
webpack.config.dev.js
webpack.config.prod.js
wp-cli.yml
wp-config-sample.php
wp-tests-config-sample.php