[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 23:09:47 UTC 2017


#42310: Inconsistent update and refresh logic between `oembed_cache` and post meta
-------------------------------------+--------------------------
 Reporter:  dlh                      |       Owner:  westonruter
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  4.9
Component:  Embeds                   |     Version:  trunk
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+--------------------------
Changes (by westonruter):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"42009"]:
 {{{
 #!CommitTicketReference repository="" revision="42009"
 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.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42310#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list