diff options
Diffstat (limited to 'wp-admin/includes/template.php')
| -rw-r--r-- | wp-admin/includes/template.php | 2 |
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); |
