mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-11 19:02:23 +01:00
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:
parent
1cd398db0e
commit
00c8fe6b38
@ -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),
|
||||||
|
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user