[wp-trac] [WordPress Trac] #46559: Could not embed some content

WordPress Trac noreply at wordpress.org
Tue Jul 2 11:14:16 UTC 2019


#46559: Could not embed some content
--------------------------+------------------------------
 Reporter:  Krstarica     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Embeds        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by Krstarica):

 After 3 weeks of testing, I confirm that increasing timeout from 5 to 30
 seconds using the code below fixed the reported issue:

 {{{
 function my_increase_oembed_timeout($args) {
         $args["timeout"] = 30;
         return $args;
 }
 add_filter( 'oembed_remote_get_args', 'my_increase_oembed_timeout');
 }}}


 My suggestion is to have oEmbed timeout configurable somewhere and to log
 timeouts as `{{timeout}}` instead of pretty vague `{{unknown}}`

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


More information about the wp-trac mailing list