Removed $querycount. Added $wpdb->querycount

git-svn-id: https://develop.svn.wordpress.org/trunk@569 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mike Little
2003-12-05 01:24:02 +00:00
parent dc23e01477
commit f2aa5da5b0
11 changed files with 2 additions and 17 deletions
-1
View File
@@ -15,7 +15,6 @@
$comment_author_url = (isset($HTTP_COOKIE_VARS['comment_author_url_'.$cookiehash])) ? trim($HTTP_COOKIE_VARS['comment_author_url_'.$cookiehash]) : '';
$comments = $wpdb->get_results("SELECT * FROM $tablecomments WHERE comment_post_ID = $id AND comment_approved = '1' ORDER BY comment_date");
++$querycount;
?>
<!-- You can start editing here. -->