Changeset 1035
- Timestamp:
- 06/03/07 20:55:45 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/lyceum/wp-includes/template-functions-general.php
r1034 r1035 388 388 } 389 389 } elseif ( 'postbypost' == $type ) { 390 $arcresults = $wpdb->get_post_results("*", "post_date < '$now' AND post_status = 'publish' ORDER BY post_date DESC" . $limit); 390 $arcresults = $wpdb->get_post_results("DISTINCT posts.*", "post_date < '$now' AND post_status = 'publish' ORDER BY post_date DESC" . $limit); 391 trace('$arcresults', array_print($arcresults)); 391 392 if ( $arcresults ) { 392 393 foreach ( $arcresults as $arcresult ) {
