Ticket #17655: comments-link-fix-by-miqrogroove.patch
File comments-link-fix-by-miqrogroove.patch, 635 bytes (added by , 14 years ago) |
---|
-
wp-includes/comment-template.php
997 997 echo $home . '/' . $wpcommentspopupfile . '?comments_popup=' . $id; 998 998 echo '" onclick="wpopen(this.href); return false"'; 999 999 } else { // if comments_popup_script() is not in the template, display simple comment link 1000 if ( 0 == $number ) 1001 echo get_permalink() . '#respond'; 1002 else 1003 comments_link(); 1004 echo '"'; 1000 echo get_comments_link(), '"'; 1005 1001 } 1006 1002 1007 1003 if ( !empty( $css_class ) ) {