felgall
12-22-2009, 03:16 PM
There is a bug in the new version 2.9 of WordPress which will prevent scheduled blog posts from publishing. This will be fixed in the next release of WordPress but for those who want to get Scheduled Publishing working again now there is a one line patch available.
I have tested this patch and it does fix the problem.
In the file wp-includes/http.php go to line 1301 which reads:
$timeout_ms = (int) ceil( 1000 * $r['timeout'] );
and replace that with:
$timeout_ms = (int) ceil( 1000 * max($r['timeout'], 1) );
I have tested this patch and it does fix the problem.
In the file wp-includes/http.php go to line 1301 which reads:
$timeout_ms = (int) ceil( 1000 * $r['timeout'] );
and replace that with:
$timeout_ms = (int) ceil( 1000 * max($r['timeout'], 1) );