Changeset 7135 for trunk/wp-includes/post-template.php
- Timestamp:
- 03/03/2008 04:17:37 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post-template.php
r7073 r7135 390 390 $file = get_attached_file( $post->ID ); 391 391 392 if ( !$fullsize && $ thumbfile = wp_get_attachment_thumb_file( $post->ID ) ) {392 if ( !$fullsize && $src = wp_get_attachment_thumb_url( $post->ID ) ) { 393 393 // We have a thumbnail desired, specified and existing 394 394 395 $src = wp_get_attachment_thumb_url( $post->ID ); 396 $src_file = $thumbfile; 395 $src_file = basename($src); 397 396 $class = 'attachmentthumb'; 398 397 } elseif ( wp_attachment_is_image( $post->ID ) ) {
Note: See TracChangeset
for help on using the changeset viewer.