[wp-trac] [WordPress Trac] #11725: Add start and count attributes to gallery shortcode

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 22 16:48:36 UTC 2011


#11725: Add start and count attributes to gallery shortcode
-----------------------------+-----------------------------
 Reporter:  frymi            |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Future Release
Component:  Gallery          |     Version:  2.9.1
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |
-----------------------------+-----------------------------

Comment (by aaroncampbell):

 Maybe I'm missing what you guys are trying to accomplish here, but why
 doesn't the patch just pass start-1 as `offset` and count as `numberposts`
 to `get_posts()` and `get_children()`?  I'm uploading a patch to show what
 I mean (although I didn't really test it).

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11725#comment:22>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list