Posted on 2 April, 2009 By 30 Comments

Smiley Bug: Comment Moderation Problem in WordPress 2.7

 

Everything in Moderation Including Excess (by Major Clanger)

Since upgrading to WordPress 2.7, I’ve had an annoying issue with comment moderation. It wasn’t a showstopping problem and I was able to work around it but when I did my personal WordPress spring cleaning last weekend, I decided to find a solution to the problem.

So, what was the problem? Well, comments were going into moderation that shouldn’t have been based on my Discussion settings.

 

I have my Discussion settings to moderate the first two times someone comments and if there are more than two links in the comment.

Once someone has commented and been approved twice I’ve decided they are trustworthy and they can then leave a comment without being moderated. Unless, the comment has more than two links in it. Then it has to be moderated again because we know how spammers (not my visitors) love to leave viagra links.

But after upgrading to 2.7, people who had long since been approved commentators were being put into moderation. I couldn’t figure out a pattern to it either. Sometimes their comments went into moderation and other times they didn’t – I didn’t see any logic behind it.

Like I said, this wasn’t a big blog problem but it annoyed me because I didn’t want my regular visitors to be moderated.

So, I went to the WordPress forums and discovered that there is a bug that Otto calls the smiley bug.

Under Settings > Writing you can set emoticons, or the little smiley faces, to be converted into an image. WordPress 2.7 thinks the image is a link so the comment goes into moderation. Remember, I allow two links and believe those are already being used by the url for the commentator’s website and commentluv, so if the commentator included an emoticon, the comment got put into moderation.

The smiley bug has been added to Trac, the WordPress bug database, and will be corrected in a future release.

There are, however, two workarounds in the meantime:

  1. In Settings > Writing uncheck the box to have emoticons converted to images. This is the solution I decided to use.
  2. In Settings > Discussion increase the number of links allowed in a comment to something high like 10. I didn’t go with this solution because I couldn’t decide how many links to allow and I felt that it increased the possibility of spam getting through.

I was really pleased to find out that this was a bug and what was causing the problem. I’m also glad that there are a couple of workarounds.

Have any of you experienced this in 2.7?

photo credit: Major Clanger




Keep Reading:
Posted In : WordPress Tips

Did you enjoy this article? I can assist you with your WordPress or Facebook project. Contact me and I will provide you with an estimate. You can also connect with me on Facebook or follow me on Twitter. If you are looking for Hosting, WordPress Theme, Newsletter or other recommendations, please view my detailed list

.


30 Responses to “Smiley Bug: Comment Moderation Problem in WordPress 2.7”

Leave a Comment
You may use: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .

CommentLuv badge

About

Kim Woodbridge is an accomplished Information and Technical Consultant specializing in the entire implementation of a WordPress based website including installation, theme design, upgrades, unique customizations and ongoing site maintenance.

Recent Comments

    • Fred: Thank you for this post. I am using NGG slideshow in the header of a site and I would like the slideshow to cycle thr...
    • Nick: Has anyone found an app that allows you create a "favorite" (the little box) where it is an image you define and it link...
    • Rajesh: Hey , really great... its help me a lot to fix the issue in IE..... thanks......
    • oliver: Thank you very much. This is exactly the solution I was hoping for....
    • Rick Wolff: I'm considering a graphic design specialization: custom blog post images designed to be eagerly shared on Pinterest. I g...

Wordpress Services

  • Installation, upgrades and maintenance
  • Conversion of existing html and css templates
  • Theme and plugin recommendations
  • CSS customizations
  • Troubleshooting and tweaks for unique situations
  • Customization for individual blogging goals and needs
  • Training and advice