Make WordPress Core


Ignore:
Timestamp:
01/28/2004 08:40:58 AM (21 years ago)
Author:
saxmatt
Message:

Comments link not shown if on comments page, link to comment form, number of comments in comment header, and slight font size tweak.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/template-functions-comment.php

    r801 r805  
    3333    global $id, $wpcommentspopupfile, $wpcommentsjavascript, $post, $wpdb, $tablecomments, $HTTP_COOKIE_VARS, $cookiehash;
    3434    global $querystring_start, $querystring_equal, $querystring_separator, $siteurl;
    35     global $comment_count_cache;
     35    global $comment_count_cache, $single;
     36    if (!$single) {
    3637    if ('' == $comment_count_cache["$id"]) {
    3738        $number = $wpdb->get_var("SELECT COUNT(comment_ID) FROM $tablecomments WHERE comment_post_ID = $id AND comment_approved = '1';");
     
    6667        echo '</a>';
    6768    }
     69    }
    6870}
    6971
Note: See TracChangeset for help on using the changeset viewer.