WordPress.org

Support

Support » How-To and Troubleshooting » Empty comments are being published

Empty comments are being published

  • Hello,

    I have a strange problem with my wordpress blog: if a user posts a comment without anything inside the message form, WordPress publishes the comment, as an empty comment….

    Is there a way to solve this bug ?

    Thanks !

Viewing 6 replies - 1 through 6 (of 6 total)
  • esmi
    Forum Moderator

    @esmi

    Have you tried switching to the Twenty Eleven theme to rule out any theme-specific problems?

    Yes, it’s a theme problem because I’ve activated the theme on another blog and there is the same problem. But I don’t know how to solve it inside the template ?

    Here is a part of the code of comments.php:

    <p><label for="comment"><?php _e('Message:', 'wpzoom') ?></label> <textarea name="comment" id="comment" tabindex="4" rows="10" cols="140"></textarea></p>
    <input name="submit" type="submit" id="submit" class="button" value="<?php _e('Poster !', 'wpzoom') ?>" />
    esmi
    Forum Moderator

    @esmi

    Yes, it’s a theme problem because I’ve activated the theme on another blog and there is the same problem.

    Those 2 statements contradict each other…

    Sorry for my bad english, I’m from FR 🙂

    I meant that it’s probably a theme problem, because when I activate this template on another blog, it causes the problem. When I come back on Twenty Eleven Theme, there is no problem.

    esmi
    Forum Moderator

    @esmi

    Ah! I bet my French is worse than your English. 🙂 Since this would appear to be a commercial theme, you need to ask the theme vendors for support: http://www.wpzoom.com/support/

    Thanks, I’ll ask to the support, but I thought that you maybe had an idea on how to make the comment form being required on every template…?

    Thanks for my english :))))))

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Empty comments are being published’ is closed to new replies.