Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter lktl

    (@lktl)

    Go to Settings -> Discussion

    find

    Hold a comment in the queue if it contains

    replace 2 with 4 in input field

    Save changes

    check if works

    I had the same issue, $comment_content in wp_handle_comment_submission() was empty so WP threw an error

    Thank you @websupporter for the fix

    Hi,

    I managed with the translation problem this way:

    @ theme “functions.php”

    function override_instant_comment_validation_script() {
       // deregister original script
       wp_deregister_script( 'commentvalidation' );
       // with my own script
       wp_enqueue_script('commentvalidation', get_template_directory_uri() . '/plugins/instant-comment-validation/instant-comment-validation.js', array('jquery','jqueryvalidate'));
    }
    add_action('wp_footer', 'override_instant_comment_validation_script');

    # I made copy of original “instant-comment-validation.js” file inside THEME_DIRECTORY/plugins/instant-comment-validation/

    @ “THEME_DIRECTORY/plugins/instant-comment-validation/instant-comment-validation.js”
    here you can change whatever you want

Viewing 3 replies - 1 through 3 (of 3 total)