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.

Built from https://develop.svn.wordpress.org/trunk@33948


git-svn-id: http://core.svn.wordpress.org/trunk@33917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2015-09-08 18:56:25 +00:00
parent 1cd398db0e
commit 00c8fe6b38
2 changed files with 2 additions and 2 deletions

View File

@ -2208,7 +2208,7 @@ function trackback($trackback_url, $title, $excerpt, $ID) {
return; return;
$options = array(); $options = array();
$options['timeout'] = 4; $options['timeout'] = 10;
$options['body'] = array( $options['body'] = array(
'title' => $title, 'title' => $title,
'url' => get_permalink($ID), 'url' => get_permalink($ID),

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.4-alpha-33947'; $wp_version = '4.4-alpha-33948';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.