Changeset 9894 for trunk/wp-includes/post-template.php
- Timestamp:
- 11/26/2008 02:27:37 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post-template.php
r9847 r9894 758 758 * @return string HTML content. 759 759 */ 760 function wp_get_attachment_link($id = 0, $size = 'thumbnail', $permalink = false, $icon = false , $imgwidth = false) {760 function wp_get_attachment_link($id = 0, $size = 'thumbnail', $permalink = false, $icon = false) { 761 761 $id = intval($id); 762 762 $_post = & get_post( $id ); … … 770 770 $post_title = attribute_escape($_post->post_title); 771 771 772 $link_text = wp_get_attachment_image($id, $size, $icon , $imgwidth);772 $link_text = wp_get_attachment_image($id, $size, $icon); 773 773 if ( !$link_text ) 774 774 $link_text = $_post->post_title;
Note: See TracChangeset
for help on using the changeset viewer.