diff --git src/wp-includes/general-template.php src/wp-includes/general-template.php
index e789013..88639d1 100644
|
|
|
function wp_get_archives( $args = '' ) { |
| 1482 | 1482 | } |
| 1483 | 1483 | } |
| 1484 | 1484 | } elseif ( ( 'postbypost' == $r['type'] ) || ('alpha' == $r['type'] ) ) { |
| 1485 | | $orderby = ( 'alpha' == $r['type'] ) ? 'post_title ASC ' : 'post_date DESC '; |
| | 1485 | $orderby = ( 'alpha' == $r['type'] ) ? 'post_title ASC ' : 'post_date DESC, ID DESC '; |
| 1486 | 1486 | $query = "SELECT * FROM $wpdb->posts $join $where ORDER BY $orderby $limit"; |
| 1487 | 1487 | $key = md5( $query ); |
| 1488 | 1488 | $key = "wp_get_archives:$key:$last_changed"; |