Ticket #18541: twenty-eleven-comment-reply-js.patch
File twenty-eleven-comment-reply-js.patch, 572 bytes (added by , 13 years ago) |
---|
-
twentyeleven/header.php
55 55 /* We add some JavaScript to pages with the comment form 56 56 * to support sites with threaded comments (when in use). 57 57 */ 58 if ( is_singular() && get_option( 'thread_comments' ) )58 if ( is_singular() && get_option( 'thread_comments' ) && comments_open() ) 59 59 wp_enqueue_script( 'comment-reply' ); 60 60 61 61 /* Always have wp_head() just before the closing </head>