WordPress.org

Support

Support » Requests and Feedback » Comment moderation notification

Comment moderation notification

  • Muffinboy

    @muffinboy

    If a comment is placed in the moderation queue (and hence the message doesn’t appear on the site directly), shouldn’t the commenter be informed that his/her message is being held for moderation?

Viewing 1 replies (of 1 total)
  • Yes, they should. Here’s what I did:
    1) edited the almost-last line of wp-comments-post.php from this:
    header("Location: $location");
    to look like this:
    header("Location: $location?posted=1");
    2) added the following to index.php (anywhere’s fine, you could even put it in wp-comments.php if you wanted):
    <?php if ($_REQUEST['posted'] == 1) { ?>
    <p id="post_ack">Your comment has been posted and will be visible once the
    site admin approves it. Sorry for the delay. Thanks for posting!
    <?php } ?>

    It’s a bloody ugly hack, but hey, what isn’t.

Viewing 1 replies (of 1 total)
  • The topic ‘Comment moderation notification’ is closed to new replies.