Posted on 2 April, 2009 By Kim Woodbridge 30 Comments

Smiley Bug: Comment Moderation Problem in WordPress 2.7

 
Share

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


Related Posts:
  • Twitter Holiday Contest – Win a Free 2.7 Upgrade
  • (Anti) Social-Lists 5/24/09
  • WordPress Flash Uploader Fix for the HTTP Error
  • How to Style a Sticky Post in WordPress 2.7
  • How to Make a Post Sticky in WordPress 2.7
  • Posted In : WordPress Tips
    If you enjoyed this post, please subscribe to my RSS Feed. You can also connect with my Facebook page or follow me on Twitter.



    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 Enabled

    Recent Comments

      • Ari Herzog: Agreed on the updates/inbox snafu. I rarely see page updates and I know where they are! .-= Ari Herzog´s last blog .....
      • jayson: Kim, Love the themes. I am looking to update the theme on my site to something more appropriate. My site is all abou...
      • vered: "I wish more people would use this. I think it’s silly when I get updates for things occuring in Kansas and California –...
      • Dennis Edell @ Direct Sales Marketing: I was speaking generally, not specifically this month. how exactly do you work things? .-= Dennis Edell @ Direct Sales M...
      • Lucy Beer: Unfortunately I think next to no-one actually sees those "Updates". They're buried in a subsection of the inbox and I do...
      • Kim Woodbridge: Hi Marbella - Thanks! I had a great time....
      • Kim Woodbridge: Hi Julie - I'll probably try kayaking again next summer but I don't know if I will become much of a kayaker - I had a di...
      • Kim Woodbridge: Hi Vered - If you ever get the chance, you should go. It's like a different world - it's so quiet and peaceful....

    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.

    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