[wp-trac] [WordPress Trac] #29291: Media IDs in gallery shortcode : allow ranges of ids

WordPress Trac noreply at wordpress.org
Fri Oct 14 18:28:51 UTC 2016


#29291: Media IDs in gallery shortcode : allow ranges of ids
-------------------------+------------------------------
 Reporter:  grosbouff    |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Gallery      |     Version:  3.9.2
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:
-------------------------+------------------------------

Comment (by keraweb):

 Why not extend this to the WP_Query. The gallery shortcode uses the
 `post__in` parameter.

 It's not that difficult to allow a range for this parameter, the parser
 can convert it to a range of ID's before building the query itself.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29291#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list