Changeset 5036 for trunk/wp-includes/general-template.php
- Timestamp:
- 03/14/2007 02:21:39 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/general-template.php
r5014 r5036 416 416 } elseif ( ( 'postbypost' == $type ) || ('alpha' == $type) ) { 417 417 ('alpha' == $type) ? $orderby = "post_title ASC " : $orderby = "post_date DESC "; 418 $arcresults = $wpdb->get_results("SELECT * FROM $wpdb->posts $join $where $orderby $limit");418 $arcresults = $wpdb->get_results("SELECT * FROM $wpdb->posts $join $where ORDER BY $orderby $limit"); 419 419 if ( $arcresults ) { 420 420 foreach ( $arcresults as $arcresult ) {
Note: See TracChangeset
for help on using the changeset viewer.