mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-24 15:24:36 +00:00
Missing querycount
git-svn-id: https://develop.svn.wordpress.org/trunk@558 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -59,6 +59,7 @@ foreach ($posts as $post) { start_b2();
|
||||
AND post_date < '".date("Y-m-d H:i:s")."'
|
||||
ORDER BY comment_date
|
||||
LIMIT $posts_per_rss");
|
||||
++$querycount;
|
||||
}
|
||||
else { // if no post id passed in, we'll just ue the last 10 comments.
|
||||
$comments = $wpdb->get_results("SELECT comment_ID,
|
||||
@@ -78,6 +79,7 @@ foreach ($posts as $post) { start_b2();
|
||||
AND post_date < '".date("Y-m-d H:i:s")."'
|
||||
ORDER BY comment_date DESC
|
||||
LIMIT $posts_per_rss");
|
||||
++$querycount;
|
||||
}
|
||||
// this line is WordPress' motor, do not delete it.
|
||||
if ($comments) {
|
||||
|
||||
Reference in New Issue
Block a user