Ticket #5911: 5911-22.diff
| File 5911-22.diff, 1.5 KB (added by , 18 years ago) |
|---|
-
wp-includes/media.php
322 322 <div class='gallery'>"); 323 323 324 324 foreach ( $attachments as $id => $attachment ) { 325 $link = get_the_attachment_link($id, false, array(128, 96), true);325 $link = get_the_attachment_link($id, true, array(128, 96), true); 326 326 $output .= " 327 327 <div> 328 328 $link -
wp-admin/includes/media.php
836 836 --> 837 837 </script> 838 838 <div id="media-items"> 839 <input type="submit" class="button savebutton" name="save" value="<?php _e('Save'); ?>" /> 839 840 <?php echo get_media_items( $id, $errors ); ?> 841 <input type="submit" class="button savebutton" name="save" value="<?php _e('Save'); ?>" /> 840 842 </div> 841 843 842 844 <?php elseif ( is_callable($callback) ) : ?> -
wp-admin/edit-attachment-rows.php
39 39 40 40 case 'icon': 41 41 ?> 42 <td class="media-icon"><?php echo get_the_attachment_link($post->ID, 'thumbnail', array(48,48)); ?></td>42 <td class="media-icon"><?php echo get_the_attachment_link($post->ID, false, array(48,48)); ?></td> 43 43 <?php 44 44 // TODO 45 45 break;