Changeset 7749 for trunk/wp-includes/post-template.php
- Timestamp:
- 04/20/2008 06:45:13 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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) )
Note: See TracChangeset
for help on using the changeset viewer.