[wp-trac] [WordPress Trac] #17485: Sort Order by Date in WP Gallery resorts to order by ID

WordPress Trac wp-trac at lists.automattic.com
Wed May 25 08:10:22 UTC 2011


#17485: Sort Order by Date in WP Gallery resorts to order by ID
--------------------------+------------------------
 Reporter:  nrajesh       |       Owner:  azaozz
     Type:  defect (bug)  |      Status:  reviewing
 Priority:  normal        |   Milestone:
Component:  Gallery       |     Version:  3.1.2
 Severity:  critical      |  Resolution:
 Keywords:  close         |
--------------------------+------------------------

Comment (by dd32):

 nrajesh: ID's are created sequentially, Id 5 comes before ID6, comes
 before ID 100. Therefor, Date and ID ordering is exactly the same..
 Ordering by ID is vastly faster than ordering by date in term of
 performance (even though it's minimal).


 From what you've said so far, It seems that you're saying this isn't the
 case? Is that right?

 The Order by date stamp on the gallery settings is to give the simplest
 language explanation, rather than "But what order is ID's?".. The
 shortcode is designed to reflect the settings selected, not to necessarily
 be read.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17485#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list