[wp-trac] [WordPress Trac] #13052: Return the URL of the next adjacent image in a gallery

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 19 20:32:33 UTC 2010


#13052: Return the URL of the next adjacent image in a gallery
-------------------------+--------------------------------------------------
 Reporter:  iandstewart  |       Owner:            
     Type:  enhancement  |      Status:  new       
 Priority:  normal       |   Milestone:  Unassigned
Component:  General      |     Version:            
 Severity:  normal       |    Keywords:            
-------------------------+--------------------------------------------------
 A function that returned the URL of the next adjacent image for an
 attachment in a gallery post, or the URL of the parent post if there isn't
 an adjacent image, would be a really useful enhancement for attachment
 templates.

 Attached is a diff of media.php with the custom function I rolled from
 adjacent_image_link() to do just that.

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


More information about the wp-trac mailing list