[wp-trac] [WordPress Trac] #13274: Gallery Short Code Change media.php

WordPress Trac wp-trac at lists.automattic.com
Thu May 6 14:35:56 UTC 2010

#13274: Gallery Short Code Change media.php
 Reporter:  waltertschwe     |       Owner:            
     Type:  feature request  |      Status:  new       
 Priority:  normal           |   Milestone:  Unassigned
Component:  General          |     Version:            
 Severity:  normal           |    Keywords:            
 File requested to be changed: /wp-includes/media.php

 This is a customized change needed for Time Magazine's blogs. proc
 gallery_shortcode.  We are requesting this change to accommodate our
 iPhone application.  This would only effect our time feeding through
 plugin.  This adds a link under each gallery asset name because the app
 can't pick up the image or the link from the short code.

 // added for mobile app
                 $feed = $_GET['feed'];
                 if ($feed == "feedingtrough") {
                     $postUrl = wp_get_attachment_url($id, 'full');
                     $output .= "<div class=\"mobile\"><a

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

More information about the wp-trac mailing list