Indicating moderation in popup comments
-
I’m using WordPress 2.0.2, and I’ve created my own theme, which works pretty well on the whole. However, the one problem I’m having is with the popup comment template. I’d like this comment to display a notification when someone posts a comment that has been moderated. However, the code in the template seems to display only *approved* comments, so these notifications never show up:
$comments = get_approved_comments($id);
foreach ( $comments as $comment ) {
if ($comment->comment_approved == '0') {
// display a notice
//etc
Does anyone know of a way to notify someone of comment moderation from within a popup comment window?
Thanks!
- The topic ‘Indicating moderation in popup comments’ is closed to new replies.