Changeset 20172
- Timestamp:
- 03/14/2012 09:48:57 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r20171 r20172 5179 5179 $thumbnail_html = wp_get_attachment_image( $thumbnail_id, 'thumbnail' ); 5180 5180 if ( ! empty( $thumbnail_html ) ) { 5181 update_post_meta( $post->ID, '_thumbnail_id', $thumbnail_id ); 5182 return true; 5181 return update_post_meta( $post->ID, '_thumbnail_id', $thumbnail_id ); 5183 5182 } 5184 5183 }
Note: See TracChangeset
for help on using the changeset viewer.