WordPress.org

Ready to get started?Download WordPress

Forums

Empty comments are being published (7 posts)

  1. evo252
    Member
    Posted 3 years ago #

    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 !

  2. esmi
    Forum Moderator
    Posted 3 years ago #

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

  3. evo252
    Member
    Posted 3 years ago #

    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') ?>" />
  4. esmi
    Forum Moderator
    Posted 3 years ago #

    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...

  5. evo252
    Member
    Posted 3 years ago #

    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.

  6. esmi
    Forum Moderator
    Posted 3 years ago #

    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/

  7. evo252
    Member
    Posted 3 years ago #

    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 :))))))

Topic Closed

This topic has been closed to new replies.

About this Topic