[wp-trac] [WordPress Trac] #42310: Inconsistent update and refresh logic between `oembed_cache` and post meta
WordPress Trac
noreply at wordpress.org
Tue Oct 24 22:53:36 UTC 2017
#42310: Inconsistent update and refresh logic between `oembed_cache` and post meta
-------------------------------------+--------------------
Reporter: dlh | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.9
Component: Embeds | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+--------------------
Comment (by westonruter):
@dlh:
> In that sense, methods for refreshing `oembed_cache` posts after saving
changes on `widgets.php` or `customize.php` might be preferable.
This is a challenge. While this could maybe align with user expectations
for embeds in widgets specifically, it wouldn't then help with using
embeds in TinyMCE outside of the widget context. For example, if I add a
TinyMCE editor to the user profile screen and I want to drop an embed in
there, we wouldn't be able to reliably know when to refresh the oEmbed
other than there also attempt to manually add a refresh when user updated
action fires. So I think it is useful to piggyback on the `parse-embed`
request to also refresh the cache.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42310#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list