[wp-trac] [WordPress Trac] #42825: [embed] shortcode - oembed_cache not being updated when $cached_recently is false
WordPress Trac
noreply at wordpress.org
Thu Dec 7 16:43:52 UTC 2017
#42825: [embed] shortcode - oembed_cache not being updated when $cached_recently
is false
--------------------------+------------------------------
Reporter: bobbingwide | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Embeds | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by bobbingwide):
Realised the fix is a lot easier.
Change:
{{{
if ( $this->usecache || $cached_recently ) {
}}}
to
{{{
if ( $this->usecache && $cached_recently ) {
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42825#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list