[wp-trac] [WordPress Trac] #3951: fix for postbypost archives

WordPress Trac wp-trac at lists.automattic.com
Sat Mar 10 15:41:06 GMT 2007


#3951: fix for postbypost archives
------------------------+---------------------------------------------------
 Reporter:  flinkflonk  |       Owner:  anonymous
     Type:  defect      |      Status:  new      
 Priority:  lowest      |   Milestone:  2.3      
Component:  General     |     Version:  2.2      
 Severity:  normal      |    Keywords:           
------------------------+---------------------------------------------------
 I just tried out some themes that show the last 10 or so posts using
 get_archives. After converting this to a (non-deprecated) wp_get_archives
 I discovered it wasn't that which broke the database query, it was the
 code constructing the query, adding a term to order by without actually
 adding the words "order by" :)

 Patch attached.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3951>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list