• waldojefferson

    (@waldojefferson)


    I am utterly clueless about php, I need someone to tell me
    how to change the line in wp-comments-post.php

    if ( ” == $comment_content )
    die( __(‘Please write a comment’) );

    I wouls like to change the ‘Please write a comment’ to redirect to a
    pre-defined page.

    Any ideas?

    Thanks.

The topic ‘Comment error redirect’ is closed to new replies.