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

WordPress Trac wp-trac at lists.automattic.com
Thu Jan 7 07:27:25 UTC 2010


#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           |    Keywords:                
-----------------------------+----------------------------------------------
Changes (by frymi):

  * keywords:  has-patch =>


Comment:

 nacin: 11725.diff - not work right.

 [gallery count=6] not views 1-6 img, but show 7 img!
 [gallery start=4] is OK
 ...
 Line 776 must by: $start + $count -1

 yes?

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


More information about the wp-trac mailing list