Changeset 22979 for trunk/wp-admin/includes/post.php
- Timestamp:
- 12/03/2012 02:38:10 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/post.php
r22950 r22979 198 198 elseif ( '0' == $post_data['post_format'] ) 199 199 set_post_format( $post_ID, false ); 200 }201 202 // Featured Images203 if ( isset( $post_data['thumbnail_id'] ) ) {204 if ( '-1' == $post_data['thumbnail_id'] )205 delete_post_thumbnail( $post_ID );206 else207 set_post_thumbnail( $post_ID, $post_data['thumbnail_id'] );208 200 } 209 201
Note: See TracChangeset
for help on using the changeset viewer.