[wp-trac] Re: [WordPress Trac] #6476: 2.5 Gallery shortcode orderby not working

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 30 20:00:04 GMT 2008


#6476: 2.5 Gallery shortcode orderby not working
---------------------------+------------------------------------------------
 Reporter:  GeoffHarrison  |        Owner:  anonymous
     Type:  defect         |       Status:  new      
 Priority:  normal         |    Milestone:  2.5.1    
Component:  General        |      Version:           
 Severity:  normal         |   Resolution:           
 Keywords:                 |  
---------------------------+------------------------------------------------
Changes (by UncleZeiv):

  * milestone:  2.7 => 2.5.1

Comment:

 I'm experiencing a related problem. The generated SQL query ends like this
 in my case:

 {{{
 ORDER BY \"menu_order ASC, ID ASC\" DESC
 }}}

 thus generating an invalid query. The result is that no gallery shows up
 in the post. (My opinion: gallery_shortcode should not return '' in case
 of failure). I guess this has to do with some wrong server setting, since
 I seem to be the only person with this problem (running mysql 5.0.32).

 I'm afraid I can't upgrade until this gets corrected...

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


More information about the wp-trac mailing list