﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
3961,wp_get_archives('type=postbypost') missing ORDER BY,mattbta,anonymous,"wp-includes/general-template.php function wp_get_archives() line 417/418 :

{{{
('alpha' == $type) ? $orderby = ""post_title ASC "" : $orderby = ""post_date DESC "";
		$arcresults = $wpdb->get_results(""SELECT * FROM $wpdb->posts $join $where $orderby $limit"");
}}}

Should be:

{{{
('alpha' == $type) ? $orderby = ""post_title ASC "" : $orderby = ""post_date DESC "";
		$arcresults = $wpdb->get_results(""SELECT * FROM $wpdb->posts $join $where ORDER BY $orderby $limit"");
}}}



",defect (bug),closed,normal,2.2,Template,2.2,major,fixed,commit,
