Deregister Comments Reply JS

If you’re not using comments on the site, you can reduce HTTP requests by de-registering this script.

1
2
3
4
function clean_header(){
	wp_deregister_script( 'comment-reply' );
         }
add_action('init','clean_header');