summaryrefslogtreecommitdiffstats
path: root/wp-admin/includes/template.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-09-15 15:45:31 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-09-15 15:45:31 +0000
commit0bea7c7ad2ee8e82a86919b1cd2fea517cc67ec8 (patch)
tree5b95d4a59dbb761f8da80c9e894d22a7a547b00c /wp-admin/includes/template.php
parent66b0871abeef45cdbe757c97a643076503b6c656 (diff)
downloadwordpress-mu-0bea7c7ad2ee8e82a86919b1cd2fea517cc67ec8.tar.gz
wordpress-mu-0bea7c7ad2ee8e82a86919b1cd2fea517cc67ec8.tar.xz
wordpress-mu-0bea7c7ad2ee8e82a86919b1cd2fea517cc67ec8.zip
Merge with WP 2.6.2
git-svn-id: http://svn.automattic.com/wordpress-mu/branches/2.6@1471 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/includes/template.php')
-rw-r--r--wp-admin/includes/template.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php
index 3d6aac5..e132733 100644
--- a/wp-admin/includes/template.php
+++ b/wp-admin/includes/template.php
@@ -715,7 +715,7 @@ function _wp_get_comment_list( $status = '', $s = false, $start, $num ) {
$approved
ORDER BY comment_date_gmt DESC LIMIT $start, $num");
} else {
- $comments = $wpdb->get_results( "SELECT SQL_CALC_FOUND_ROWS * FROM $wpdb->comments USE INDEX (comment_date_gmt) WHERE $approved ORDER BY comment_date_gmt DESC LIMIT $start, $num" );
+ $comments = $wpdb->get_results( "SELECT SQL_CALC_FOUND_ROWS * FROM $wpdb->comments WHERE $approved ORDER BY comment_date_gmt DESC LIMIT $start, $num" );
}
update_comment_cache($comments);