It’s been a funny old week since I updated to WordPress 2.9, don’t get me wrong the new update is fantastic and some of the new features are extremely useful to use, but, and this is a big but, after installing the update, every time I made a post or used a ping back or trackback my WordPress blog would not ping or send pingbacks to other sites!
But now since making a tiny little tweak to the file “wp-includes/cron.php” I’ve fixed the problem!
If you look at the original code for cron.php you will find the following code:
$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 will notice that I have made a bit bold! This is what you need to change, change this to 1 so now it should read:
$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)) );
Now you should find that you pings are now working again, hopefully, I checked mine via the Ping Optimizer plugin and the log on the plugin confirmed a ping status!
Please remember before using this tweak, back up your original “wp-includes/cron.php” file, just in case, you never know
If you enjoyed reading this post, then please remember to post a comment, Subscribe to my RSS feed. There’s still time for you to enter the LeapFish $100K Cash Dash.
![]()
Related posts:
- My Favourite WordPress plugins Part 2
- Can’t Edit Themes in WordPress 2.9 – This May Be Why!
- WordPress Plugins I find useful for Blog Posting
- How to easily Search & Replace via a handy WordPress Plugin
- Updated my WordPress Permalinks with the Permalink Migration Plugin













Entries (RSS)
WordPress Stops Pinging – How To Fix It!…
It’s been a funny old week since I updated to WordPress 2.9, don’t get me wrong the new update is fantastic and some of the new features are extremely useful to use, but, and this is a big but, after installing the update, every time I made a post or u…
Twitter: iWoodpecker
says:
Nice one
I’ve checked my pings after update and it came out, that there were none of them! So I’ve followed your advice.. now it’s OK.
Bookmarking, tweeting etc
T-H-A-N-K Y-O-U!
iWoodpecker´s last blog ..Insane List of 140 Do Follow & Nofollow Blogs with CommentLuv 2010
[Reply]
Karen
Twitter: BlazingMinds
Reply:
December 21st, 2009 at 2:30 pm
Glad to be of some help and thanks for bookmarking and tweeting etc, it’s very much appreciated
[Reply]
Twitter: dragonblogger
says:
Book marked, tweeted and wrote a post linking back to help spread the word. How do you check your pings like you were, what did you look at to determine there was even a problem? How do you check if your site is giving pingbacks to other sites properly?
Dragon Blogger´s last blog ..Fix WordPress 2.9 Ping and Traceback Issues
[Reply]
Karen
Twitter: BlazingMinds
Reply:
December 21st, 2009 at 2:59 pm
Thanks for the post and link back, I use the Ping Optimizer to check my pings and it’s log wasn’t showing any pings on updates to posts etc, it is a handy plugin it only pings when you make a new post instead of pinging every time you edit a post.
[Reply]
Twitter: element321
says:
Great post. I had heard about this and was waiting to upgrade. I will try this tonight. I voted for this on Blog Engage, Retweeted and posted a link on my blog about your post.
element321´s last blog ..How to fix WordPress Ping Once it Stops Working.
[Reply]
Karen
Twitter: BlazingMinds
Reply:
December 21st, 2009 at 4:52 pm
Thanks for the vote, RT and the link on your blog post, very much appreciated
[Reply]
Twitter: extremejohn
says:
It looks like there are a few issues with the new WordPress, I just left another blog that had a similar post about repairing the issue.
Extreme John´s last blog ..This Exchange Website, That Exchange Website!
[Reply]
Twitter: catalinadrian
says:
Maybe they did not tested it enough before releasing it. It’s good that you managed to solve the problem by yourself. They should offer you something as a reward maybe
[Reply]
Karen
Twitter: BlazingMinds
Reply:
December 21st, 2009 at 8:51 pm
[Reply]
john
Twitter: catalinadrian
Reply:
December 22nd, 2009 at 8:09 pm
I’ve seen that you managed to solve that problem also. If a have a software which is not working properly I know who to ask to fix it
[Reply]
Twitter: mikezilla14
says:
Thank you so much for this! Pings were showing up rather erratically before.
Michael @ Monetize your Life´s last blog ..Failure Quotes – Celebrating my Failures of 2009
[Reply]
Karen
Twitter: BlazingMinds
Reply:
December 21st, 2009 at 9:08 pm
Glad to be of some help
[Reply]
Twitter: AlisonMSmith
says:
More good info from you Karen. PHP geniuses rock.
Alison Moore Smith@Blog in 1 Week´s last blog ..BlogEngage: First 10,000 Votes
[Reply]
Twitter: FamousBloggers
says:
Ah Karen so you are tweaking WordPress now, this is Awesome
Also the Simple Tag plugin is not working with the 2.9 version.
Hesham @ FamousBloggers´s last blog ..Breaking News: The Latest Stable Release of WordPress Version 2.9 “Carmen” is Available
[Reply]
Karen
Twitter: BlazingMinds
Reply:
December 21st, 2009 at 10:37 pm
I can’t take all the credit, a friend of mine mentioned the word “Cron” so I looked through the WP files and found a file to check out and then changed a setting! It wasn’t the first file I tried editing
[Reply]
Twitter: ShotOfCoffee
says:
I had some serious headaches with 2.9 – mostly conflict with plugins, but I’m going to have to see if I’m having this problem too.
Mike´s last blog ..Fresh Brews: Coffee Obsessed And Free Wifi
[Reply]
Karen
Twitter: BlazingMinds
Reply:
December 21st, 2009 at 10:37 pm
So far, plugins are not a problem, themes yes! But not plugins
[Reply]
Isaac | GoBlogger
Twitter: isaacyassar
Reply:
December 22nd, 2009 at 6:14 am
I think I’ll wait for the 2.9.1 . I hope they will fix everything by then, and the plugins will be updated and ready for the 2.9
[Reply]
Twitter: gallardomark
says:
kewl post karen… 1st time in your page.. and i so love it.
great help you are to me. Aja!
mark´s last blog ..Watch Alvin & The Chipmunks – The Squeakquel Free Online
[Reply]
Karen
Twitter: BlazingMinds
Reply:
December 23rd, 2009 at 3:10 pm
Glad to help
[Reply]
Twitter: Article_for_SEO
says:
Thank you for the nice tutorial Karen. I think this tutorial will help for wordpress users.
chandan@work at home´s last blog ..How Google Caffeine effect on your work at home blog ranking system?
[Reply]
Twitter: gallardomark
says:
by the karen, I made a made a post regarding this one… pointing to your site. Happy holidays karen!
mark´s last blog ..Dungeons & Dragons Spellcasting Soda for Holiday Season
[Reply]
Karen
Twitter: BlazingMinds
Reply:
December 22nd, 2009 at 8:08 am
Thanks Mark, it’s been pinged
[Reply]
Twitter: BasicBlogTips
says:
Karen, I admire your skills. When I grow up I’m gonna learn more about code!
Ileane´s last blog ..Fun Twitter Promotions for Your Blog
[Reply]
Twitter: knewthis
says:
I have been having trouble with one of my new blogs. Let’s see how it changes..By the way, Karen..any idea about this other line in the code:
$crons[$timestamp][$hook][$key] = array( ‘schedule’ => false, ‘args’ => $args );
Schedule is set to false? Is there something wrong here?
Anand Srinivasan´s last blog ..Be A Part Of The Bloggies Network
[Reply]
Karen
Twitter: BlazingMinds
Reply:
December 22nd, 2009 at 5:30 pm
Leave that code, as far as I know it used when you schedule a post
[Reply]
Anand Srinivasan
Twitter: knewthis
Reply:
December 22nd, 2009 at 5:32 pm
Aargh..How did I confuse scheduling with pinging! :O
Anand Srinivasan´s last blog ..KnewThis Blogger Contest – Earn All That We Earn
[Reply]
Twitter: Happymaker
says:
Amazing, Karen! I’m sorry you had to go through the initial frustration of all of this, but kudos to you for amending the situation. Also, thanks for sharing your solution so others don’t have to go through what you did for long!
Heather Kephart´s last blog ..Hyenas and Secret Cheerleaders
[Reply]
Karen
Twitter: BlazingMinds
Reply:
December 23rd, 2009 at 3:11 pm
Just trying to be as helpful as I can
[Reply]
Twitter: DennisEdell
says:
Awesome quick tip Karen, thanks!
Dennis Edell´s last blog ..The $10 Winner And More Good News…..
[Reply]
Twitter: gfserradinho
says:
Wow, i did not even know about this. this makes a huge difference to any kind of site/blog, from the small to the big guy.
Thanks for sharing this. I will be adding this post to my Monday roundup for next week. I don’t know if others know about it.
George Serradinho´s last blog ..eBook – Delicious Candy Recipes
[Reply]
Karen
Twitter: BlazingMinds
Reply:
December 23rd, 2009 at 3:12 pm
Thanks George that’s much appreciated
[Reply]
Twitter: bradsonyadark
says:
Could you tell me where I find the cron.php file please, so I can edit to see if that fixes my problem.
Cheers
Sonya
Sonya´s last undefined ..If you register your site for free at
[Reply]
Karen
Twitter: BlazingMinds
Reply:
December 23rd, 2009 at 11:12 pm
Hi Sonya, I did mention in the beginning of the post that the file is located at “wp-includes/cron.php”
[Reply]
Twitter: CopywriterMaven
says:
Hi, I tried this and got it to validate for a few minutes and then poof. Back to 404. Very frustrating. (As you can see below, my feed stopped working Christmas.) Think it’s a plugin conflict issue then?
Roberta Rosenberg is hoping you stop by and read MavenTweets for 2009-12-25
[Reply]
Karen
Twitter: BlazingMinds
Reply:
January 6th, 2010 at 5:53 pm
Could well be, if you are using WordPress try changing your feed to summary instead of full text, sometimes feedburner doesn’t like it when coding is added to a blog post!
[Reply]
Twitter: CopywriterMaven
says:
I’m sure I’m missing something here, but FB won’t let me change the feed setting since it can’t find my URL. Stymied.
Roberta Rosenberg is hoping you stop by and read MavenTweets for 2009-12-25
[Reply]
Karen
Twitter: BlazingMinds
Reply:
January 6th, 2010 at 6:32 pm
hmmm, if you have a plugin that forwards your feed to feedburner, disable it and then write a new post, then see if your normal blog feed has the updated post in it, failing that, check you are running WordPress 2.9.1 if not upgrade and then see if it work. Failing that I’m not too sure, so anyone else reading this post got any ideas?
[Reply]
Twitter: CopywriterMaven
says:
Thanks for the assist, and I tried what you suggested. Nada. I’m already on 2.9.1
Roberta Rosenberg is hoping you stop by and read MavenTweets for 2009-12-25
[Reply]