mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-01 03:04:34 +00:00
Missing querycount
git-svn-id: https://develop.svn.wordpress.org/trunk@558 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -271,6 +271,7 @@ echo $posts_nav_bar;
|
||||
if (($withcomments) or ($c)) {
|
||||
|
||||
$comments = $wpdb->get_results("SELECT * FROM $tablecomments WHERE comment_post_ID = $id ORDER BY comment_date");
|
||||
++$querycount;
|
||||
if ($comments) {
|
||||
?>
|
||||
|
||||
@@ -353,4 +354,4 @@ echo $posts_nav_bar;
|
||||
<?php
|
||||
// uncomment this to show the nav bar at the bottom as well
|
||||
// echo $posts_nav_bar;
|
||||
?>
|
||||
?>
|
||||
Reference in New Issue
Block a user