I recently installed version 2.9 of Wordpress for an affiliate site I’m building and noticed that after publishing a post the pingbacks and tracebacks weren’t working. Unable to figure out a solution I searched the Web and finally came across an easy fix for this bug. Props to Karen from BlazingMinds.co.uk for figuring this problem out.
Here’s how she fixed the bug:
Find your “wp-includes/cron.php” file
Look for the following code in the cron.php file:
$cron_url = get_option( ’siteurl’ ) . ‘/wp-cron.php?doing_wp_cron’;
wp_remote_post( $cron_url, array(‘timeout’ => 0.01, ‘blocking’ => false, ’sslverify’ => apply_filters(‘https_local_ssl_verify’, true)) );
You’ll need to change the 0.01 value in the above example to 1 in the below example below.
$cron_url = get_option( ’siteurl’ ) . ‘/wp-cron.php?doing_wp_cron’;
wp_remote_post( $cron_url, array(‘timeout’ => 1, ‘blocking’ => false, ’sslverify’ => apply_filters(‘https_local_ssl_verify’, true)) );
Remember to backup the original cron.php file before saving and now your blog’s pingbacks and tracebacks should be working!
You can read more about Karen’s fix here: http://blazingminds.co.uk/wordpress-stops-pinging-fix/
Thanks for the fix Karen!
{ 0 comments }











