WordPress.org

Ready to get started?Download WordPress

Forums

Comment pending - WordPress 2.7 (6 posts)

  1. golbez
    Member
    Posted 5 years ago #

    Since I installed wordpress 2.7, RANDOMLY some comments go into the "Pending Zone" even if my blog is free from all moderation. Why is that? How can I remove it? Is there some nasty secret that I don't know?

    another thing is that I can't retrieve the name of the author of the comment on the forms once he had already typed one comment.. why??

  2. golbez
    Member
    Posted 5 years ago #

    No one knows what the problem MAY be?

  3. Chintaru
    Member
    Posted 5 years ago #

    I have the problem as well, it's very annoying...

  4. Chintaru
    Member
    Posted 5 years ago #

    I searched a bit and it seems to be related to the Custom Smilies plugin. Apparently, WP 2.7 marks the smilies as links. In my case, all comments containing more than 1 link would automatically need to be approved. Since WP counts smilies as links (and people tend to use more than 1 smiley in their comment) the comments were held for moderation. I set the option to 10 links now :)

  5. Bhoney
    Member
    Posted 5 years ago #

    I have been having this same problem and indeed I am using a smilies plugin. My visitors really like them so I hope not to have to remove them. Has anyone found a work around for this problem besides setting the links option so high?

  6. Chintaru
    Member
    Posted 5 years ago #

    I found a fix a few days ago:

    Fix: Change the regular expression [line 48 in wp-includes/comment.php] to this:

    |(href\t*?=\t*?['\"]?)(https?:)?//|i

    Eliminate that center question mark. If we're applying the comment_text filter first, then any unlinked http uris will have been autolinked already, meaning that the href= will exist around them. Making it not necessary for it to be optional.

    This will also eliminate the false positive on an img src="http:whatever"

Topic Closed

This topic has been closed to new replies.

About this Topic