Changeset 805 for trunk/wp-includes/template-functions-comment.php
- Timestamp:
- 01/28/2004 08:40:58 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/template-functions-comment.php
r801 r805 33 33 global $id, $wpcommentspopupfile, $wpcommentsjavascript, $post, $wpdb, $tablecomments, $HTTP_COOKIE_VARS, $cookiehash; 34 34 global $querystring_start, $querystring_equal, $querystring_separator, $siteurl; 35 global $comment_count_cache; 35 global $comment_count_cache, $single; 36 if (!$single) { 36 37 if ('' == $comment_count_cache["$id"]) { 37 38 $number = $wpdb->get_var("SELECT COUNT(comment_ID) FROM $tablecomments WHERE comment_post_ID = $id AND comment_approved = '1';"); … … 66 67 echo '</a>'; 67 68 } 69 } 68 70 } 69 71
Note: See TracChangeset
for help on using the changeset viewer.