[wp-trac] Re: [WordPress Trac] #6476: 2.5 Gallery shortcode orderby
not working
WordPress Trac
wp-trac at lists.automattic.com
Mon Mar 31 07:37:00 GMT 2008
#6476: 2.5 Gallery shortcode orderby not working
---------------------------+------------------------------------------------
Reporter: GeoffHarrison | Owner: anonymous
Type: defect | Status: reopened
Priority: normal | Milestone: 2.5.1
Component: General | Version: 2.5
Severity: normal | Resolution:
Keywords: has-patch |
---------------------------+------------------------------------------------
Comment (by markjaquith):
The quotes kill the orderby clause. I have no idea why they were in
there. I'd like an orderby value that has the column and a direction all
in one to be supported by get_posts(), rather than the hacky solution of
passing a blank order value. We also need to do common sense regex
testing to make sure that the orderby is in the proper format for an
orderby clause. Patch coming.
--
Ticket URL: <http://trac.wordpress.org/ticket/6476#comment:7>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list