Make WordPress Core

Changeset 11901


Ignore:
Timestamp:
09/04/2009 08:50:55 AM (12 years ago)
Author:
markjaquith
Message:

Display comments in descending date order, consistently. props scribu. fixes #10674

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r11841 r11901  
    20322032        $total = '';
    20332033        $post = " AND c.comment_post_ID = '$post'";
    2034         $orderby = "ORDER BY c.comment_date_gmt ASC LIMIT $start, $num";
    20352034    } else {
    20362035        $post = '';
    2037         $orderby = "ORDER BY c.comment_date_gmt DESC LIMIT $start, $num";
    2038     }
     2036    }
     2037
     2038    $orderby = "ORDER BY c.comment_date_gmt DESC LIMIT $start, $num";
    20392039
    20402040    if ( 'comment' == $type )
Note: See TracChangeset for help on using the changeset viewer.