[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 18 07:23:03 UTC 2011
#17485: Sort Order by Date in WP Gallery resorts to order by ID
--------------------------+-----------------------------
Reporter: nrajesh | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Gallery | Version: 3.1.2
Severity: critical | Keywords: needs-patch
--------------------------+-----------------------------
Create a blog. Add some pics to it. Click "Add Media" link in the edit
post screen itself and select the gallery and chose default sort order as
"Date/ Time". Code will be generated as something like this
[gallery link="file" columns="5" orderby="ID"]. Pay attention to orderby
value!
This has been present for almost an year (see
[http://wordpress.org/support/topic/wordpress-gallery-feedback?replies=6])
- I guess this was pre 2.9.2 version.
Partly a miss from my side also, because I raised it in this support forum
but never thought of raising it in the bug tracking system (until today)!
In the WP codex also I am not able to spot the code that does the order by
date. Simply using [gallery orderby="Date" ...] does not work either!
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17485>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list