Changeset 5036
- Timestamp:
- 03/14/07 02:21:39 (1 year ago)
- Files:
-
- trunk/wp-includes/general-template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
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 ) {
