Changeset 7135 for trunk/wp-admin/includes/media.php
- Timestamp:
- 03/03/2008 04:17:37 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/media.php
r7130 r7135 56 56 if ( $url ) 57 57 $html = "<a href='".attribute_escape($url)."'$rel>$html</a>"; 58 elseif ( $size == 'thumb ' || $size == 'medium' )58 elseif ( $size == 'thumbnail' || $size == 'medium' ) 59 59 $html = '<a href="'.get_attachment_link($id).'"'.$rel.'>'.$html.'</a>'; 60 60 … … 468 468 'input' => 'html', 469 469 'html' => " 470 " . ( $thumb ? "<input type='radio' name='attachments[$post->ID][image-size]' id='image-size-thumb-$post->ID' value='thumb ' />470 " . ( $thumb ? "<input type='radio' name='attachments[$post->ID][image-size]' id='image-size-thumb-$post->ID' value='thumbnail' /> 471 471 <label for='image-size-thumb-$post->ID'>" . __('Thumbnail') . "</label> 472 472 " : '' ) . "<input type='radio' name='attachments[$post->ID][image-size]' id='image-size-medium-$post->ID' value='medium' checked='checked' />
Note: See TracChangeset
for help on using the changeset viewer.