[wp-trac] [WordPress Trac] #24133: WP_Query, multiple 'orderby' values glitch

WordPress Trac noreply at wordpress.org
Fri Apr 19 02:48:08 UTC 2013


#24133: WP_Query, multiple 'orderby' values glitch
--------------------------+------------------------------
 Reporter:  racura        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.5.1
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by racura):

 Sorry, the code fix should be:
 {{{
     $orderby_array[] = $orderby.' '.$q['order'];
 }}}
 And remove lines 2393 and 2394

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


More information about the wp-trac mailing list