Changeset 28332 for trunk/src/wp-includes/post.php
- Timestamp:
- 05/06/2014 09:38:23 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r28194 r28332 4177 4177 } 4178 4178 4179 if ( !is_array($cache) )4180 $cache = array();4181 4182 4179 $inclusions = ''; 4183 4180 if ( ! empty( $include ) ) { … … 5609 5606 $thumbnail_id = absint( $thumbnail_id ); 5610 5607 if ( $post && $thumbnail_id && get_post( $thumbnail_id ) ) { 5611 if ( $thumbnail_html =wp_get_attachment_image( $thumbnail_id, 'thumbnail' ) )5608 if ( wp_get_attachment_image( $thumbnail_id, 'thumbnail' ) ) 5612 5609 return update_post_meta( $post->ID, '_thumbnail_id', $thumbnail_id ); 5613 5610 else
Note: See TracChangeset
for help on using the changeset viewer.