[wp-trac] [WordPress Trac] #14759: Improve the way oEmbed deals with caching
WordPress Trac
noreply at wordpress.org
Thu Dec 1 17:35:49 UTC 2016
#14759: Improve the way oEmbed deals with caching
-----------------------------------------+---------------------
Reporter: Viper007Bond | Owner: helen
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.0
Component: Embeds | Version: 3.0.1
Severity: normal | Resolution: fixed
Keywords: has-patch commit needs-docs | Focuses:
-----------------------------------------+---------------------
Comment (by wickning1):
So this ticket has been closed for 2 years but I just spent half the day
yesterday tracking down a problem with my oembed provider and the TTL
doesn't seem to be working. It seems to me that this line:
`if ( $this->usecache || $cached_recently ) { `
should be
`if ( $this->usecache && $cached_recently ) { `
Am I wrong? Making that change definitely allowed a new version of my
embed through.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/14759#comment:56>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list