How to: Fix your Ajaxed for WordPress Comment Error

Since the release of WordPress 3.0, many of my clients, who have since upgraded, have found their Ajaxed WordPress comments acting a little funny.

Commenters are able to comment fine, but there pops up a little red “Error Received” after submission. This is due to an addition of one single, little, annoying line of a few characters in the wp-comments-post.php file.

==>> PLEASE NOTE YOU ARE MODIFYING CORE FILES THAT WILL BE OVERWRITTEN IF YOU UPGRADE YOUR WP SOFTWARE <<==

So here’s how to fix it…

  1. Log in to your server via your admin panel or an ftp program (we like Filezilla and Cyberduck)
  2. In your root directory find the wp-comments-post.php file and download it to a place that’s easy for you to find (like your desktop)
  3. Make a duplicate copy, just in case!
  4. Open the file and find the code line that looks like this (at the VERY bottom, next to the last line) Β and remove Β “exit;”Β 
  5. Save and upload

If you have any questions, please do not hesitate to ask! If you aren’t comfortable doing this yourself, we can take care of it for you for just $35.

Good day!

4 Replies to “How to: Fix your Ajaxed for WordPress Comment Error”

  1. Thank you very much for posting this! It’s almost like getting that little itch in the middle of your back scratched. πŸ™‚

  2. ahhhh I love you!!!!! I discovered this issue just this morning when I started running a contest on my blog for borrowlenses, and had about 1200 unique visitors get the error message. After working on it all day I found this post, and now it’s fixed! Yippee!! Thank you!! πŸ™‚

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Newsletter

Enter your email address to sign up for the kimtown newsletter.

Web Design, Hosting, Programming and Coding.

Contact us

Jacksonville, FL

(904) 479-KIMT

kimtownstudios@gmail.com

Instagram

Popular Tags

CLOSE
X
Add to cart