[wp-trac] [WordPress Trac] #14035: get_boundary_post() sorts by ID rather than creation date

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 22 00:31:01 UTC 2010


#14035: get_boundary_post() sorts by ID rather than creation date
--------------------------+-------------------------------------------------
 Reporter:  jk0           |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  General       |     Version:  3.0       
 Severity:  normal        |    Keywords:  has-patch 
--------------------------+-------------------------------------------------
 When ''get_boundary_post'' calls ''get_posts'', posts are sorted by their
 ID rather than creation date. In other words, if old posts were imported
 or post IDs are skewed (for whatever reason), the 'start' <link />
 generated in the header will not be accurate.

 I propose sorting by post creation date. Patch attached.

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


More information about the wp-trac mailing list