Title: Comment reply script is not working
Last modified: August 20, 2016

---

# Comment reply script is not working

 *  [baszer](https://wordpress.org/support/users/baszer/)
 * (@baszer)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/comment-reply-script-is-not-working/)
 * Hi,
 * I got the following error back from the Theme Check.
 * Code Quality: FAIL
    FAIL: The comment reply script is not working. You should
   hook into wp_print_scripts instead of get_header in Line 109 of functions.php.
   The get_header action is for including template files. Also, you can combine 
   all your logic like so:
 *     ```
       function theme_queue_js(){
       	  if (!is_admin() &&  is_singular() && comments_open() && (get_option('thread_comments') == 1))
       		 wp_enqueue_script( 'comment-reply' );
   
       	add_action('wp_print_scripts', 'theme_queue_js');
       ```
   
 * anybody an idea what they mean?

The topic ‘Comment reply script is not working’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [baszer](https://wordpress.org/support/users/baszer/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/comment-reply-script-is-not-working/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
