Changes from branches/3.1/wp-admin/includes/dashboard.php at r17557 to trunk/wp-admin/includes/dashboard.php at r17129
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/dashboard.php
r17557 r17129 610 610 ? absint( $widgets['dashboard_recent_comments']['items'] ) : 5; 611 611 612 while ( count( $comments ) < $total_items&& $possible = $wpdb->get_results( "SELECT * FROM $wpdb->comments c LEFT JOIN $wpdb->posts p ON c.comment_post_ID = p.ID WHERE p.post_status != 'trash' ORDER BY c.comment_date_gmt DESC LIMIT $start, 50" ) ) {612 while ( count( $comments ) < 5 && $possible = $wpdb->get_results( "SELECT * FROM $wpdb->comments c LEFT JOIN $wpdb->posts p ON c.comment_post_ID = p.ID WHERE p.post_status != 'trash' ORDER BY c.comment_date_gmt DESC LIMIT $start, 50" ) ) { 613 613 614 614 foreach ( $possible as $comment ) {
Note: See TracChangeset
for help on using the changeset viewer.