Changeset 31452
- Timestamp:
- 02/13/2015 04:59:51 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/general-template.php
r31432 r31452 1484 1484 } 1485 1485 } elseif ( ( 'postbypost' == $r['type'] ) || ('alpha' == $r['type'] ) ) { 1486 $orderby = ( 'alpha' == $r['type'] ) ? 'post_title ASC ' : 'post_date DESC ';1486 $orderby = ( 'alpha' == $r['type'] ) ? 'post_title ASC ' : 'post_date DESC, ID DESC '; 1487 1487 $query = "SELECT * FROM $wpdb->posts $join $where ORDER BY $orderby $limit"; 1488 1488 $key = md5( $query );
Note: See TracChangeset
for help on using the changeset viewer.