Changeset 16389
- Timestamp:
- 11/15/2010 06:06:57 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r16388 r16389 5269 5269 function set_post_thumbnail( $post, $thumbnail_id ) { 5270 5270 $post = get_post( $post ); 5271 $thumbnail_id = absint( $thumbnail_id ); 5271 5272 if ( $post && $thumbnail_id && get_post( $thumbnail_id ) ) { 5272 5273 $thumbnail_html = wp_get_attachment_image( $thumbnail_id, 'thumbnail' );
Note: See TracChangeset
for help on using the changeset viewer.