[wp-trac] Re: [WordPress Trac] #4617: Allow random post ordering

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 8 15:45:12 GMT 2008


#4617: Allow random post ordering
-------------------------+--------------------------------------------------
 Reporter:  Otto42       |        Owner:  Nazgul  
     Type:  enhancement  |       Status:  assigned
 Priority:  normal       |    Milestone:  2.5     
Component:  Template     |      Version:  2.2.1   
 Severity:  normal       |   Resolution:          
 Keywords:  has-patch    |  
-------------------------+--------------------------------------------------
Comment (by Otto42):

 Any traction on this? Can we get this into the core? I see people on the
 support forums having to do rather convoluted and easily broken SQL to
 accomplish this goal currently, and this simple patch would eliminate that
 need entirely.

 Attached patch for trunk using a switch/case instead of multiple
 comparisons, for speed reasons.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/4617#comment:9>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list