Changeset 7749
- Timestamp:
- 04/20/08 06:45:13 (5 months ago)
- Files:
-
- trunk/wp-includes/post-template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/post-template.php
r7747 r7749 374 374 // get an attachment page link using an image or icon if possible 375 375 function wp_get_attachment_link($id = 0, $size = 'thumbnail', $permalink = false, $icon = false) { 376 $_post = & get_post( intval($id) ); 376 $id = intval($id); 377 $_post = & get_post( $id ); 377 378 378 379 if ( ('attachment' != $_post->post_type) || !$url = wp_get_attachment_url($_post->ID) )
