Bug when editing a published comment
-
Hello,
this is a nice and quick plugin, however you should not use
$comment_to_save['comment_approved'] == 'spam'
As that is true even if $comment_to_save[‘comment_approved’] is 0. When editing a published comment it results in the “This comment was marked as spam” error message.
Please use this condition and issue a plugin update:
strcmp('spam',$comment_to_save['comment_approved']) == 0
Thanks,
Martin
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Bug when editing a published comment’ is closed to new replies.