Bump the timeout in trackback()
to 10 seconds (from 4) to match wp_xmlrpc_server::pingback_ping()
and prevent trackback timeouts.
Props gnaka08 for the initial patch. Fixes #10414. git-svn-id: https://develop.svn.wordpress.org/trunk@33948 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6d0c15836b
commit
ae8a4e496e
@ -2208,7 +2208,7 @@ function trackback($trackback_url, $title, $excerpt, $ID) {
|
||||
return;
|
||||
|
||||
$options = array();
|
||||
$options['timeout'] = 4;
|
||||
$options['timeout'] = 10;
|
||||
$options['body'] = array(
|
||||
'title' => $title,
|
||||
'url' => get_permalink($ID),
|
||||
|
Loading…
Reference in New Issue
Block a user