Make WordPress Core

Ticket #17655: comments-link-fix-by-miqrogroove.patch

File comments-link-fix-by-miqrogroove.patch, 635 bytes (added by miqrogroove, 14 years ago)
  • wp-includes/comment-template.php

     
    997997                echo $home . '/' . $wpcommentspopupfile . '?comments_popup=' . $id;
    998998                echo '" onclick="wpopen(this.href); return false"';
    999999        } 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(), '"';
    10051001        }
    10061002
    10071003        if ( !empty( $css_class ) ) {