After submitting a comment that will save as an unapproved comment, I get the status message "Your comment has been posted". After looking at theme_ajax_comments_notify_text(), I see no conditioning to check if the comment was actually approved or not. If it's not yet published, a different message should appear, just like the comment module does.

Comments

mstef’s picture

Status: Active » Needs review
StatusFileSize
new2.61 KB

Allow $comment to be passed into the theme function. Alter the message text and status if it's unpublished.

ttkaminski’s picture

Applied the patch, flushed the theme registry cache, and tested. Worked for me.

ryandekker’s picture

Status: Needs review » Reviewed & tested by the community

This works for me too. I think this is ready to be committed.

muschpusch’s picture

Assigned: Unassigned » muschpusch
Priority: Normal » Major
muschpusch’s picture

Status: Reviewed & tested by the community » Closed (fixed)

ok thanks a lot and sorry it took so long! Patch is committed!