WordPress.org

Support

Support » Plugins and Hacks » How to add redirect to SK2 after comment?

How to add redirect to SK2 after comment?

  • I recently installed Spam Killer 2 (wonderful at helping with all kinds of spam) but noticed an issue. After a visitor makes a comments, they are left on a page that simply says thank you for your comment.

    The sk2_core_class.php file code has a comment that states
    //TODO redirect to comment page…

    Can someone help me with what code to include to setup a redirect back to the post or even a link for the user to click (preferably the first)?

Viewing 1 replies (of 1 total)
  • Actually, this is not quite accurate: SK2 does redirect commenters to the original page after they comment. The line of code you mention is only for fringe cases where the commenter has had to fill in a captcha (or other “safety” measures) to complete his posting. This should be a rare occurrence.

    This will be worked on, but is less than trivial to fix (URLs need to be stored in the DB, as a commenter may decide to go fill in the captcha or otherwise unlock the comment, long after it was posted)…

Viewing 1 replies (of 1 total)
  • The topic ‘How to add redirect to SK2 after comment?’ is closed to new replies.