• On line 75 of function.php

    //Enqueue comment thread js
    function roadfighter_enqueue_scripts() {
        if (is_singular() and get_site_option('thread_comments')) {
            wp_enqueue_scripts('comment-reply');
        }
    }
    
    add_action('wp_enqueue_scripts', 'roadfighter_enqueue_scripts');

    The correct function name is ‘wp_enqueue_script()’, without the final ‘s’.

    In the current implementation, wp_enqueue_scripts() calls the hook itself, leading to a loop which ends with a 500 error.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Bug on comment-reply inclusion breaks singular post pages’ is closed to new replies.