[wp-trac] [WordPress Trac] #21816: Add explicit ordering to the gallery shortcode

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 5 21:05:20 UTC 2012


#21816: Add explicit ordering to the gallery shortcode
----------------------------+-------------------
 Reporter:  koopersmith     |      Owner:
     Type:  task (blessed)  |     Status:  new
 Priority:  normal          |  Milestone:  3.5
Component:  Media           |    Version:  trunk
 Severity:  normal          |   Keywords:
----------------------------+-------------------
 One of the media improvements we've discussed for 3.5 is using IDs in the
 gallery shortcode to specify the included attachments. We can do this
 currently with the include shortcode, but attachments are not sorted in
 the order specified, but by another metric (be it menu_order or
 otherwise). Since the gallery is specific to a given post, arranging
 attachments in the order the IDs were provided is a sensible improvement.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21816>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list