Make WordPress Core

Ticket #8233: 8233.diff

File 8233.diff, 568 bytes (added by ionfish, 16 years ago)
  • wp-includes/comment-template.php

     
    978978 * @return string|bool|null Link to show comment form, if successful. False, if comments are closed.
    979979 */
    980980function comment_reply_link($args = array(), $comment = null, $post = null) {
    981         echo get_comment_reply_link($args, $comment, $post);
     981        if (comments_open($post))
     982                echo get_comment_reply_link($args, $comment, $post);
    982983}
    983984
    984985/**