Changeset 20321
- Timestamp:
- 03/29/2012 11:06:17 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-xmlrpc-server.php
r20305 r20321 3754 3754 $this->set_custom_fields($post_ID, $content_struct['custom_fields']); 3755 3755 3756 if ( isset ( $ post_data['wp_featured_image'] ) ) {3757 if ( set_post_thumbnail( $post_ID, $ post_data['wp_featured_image'] ) === false )3756 if ( isset ( $content_struct['wp_featured_image'] ) ) { 3757 if ( set_post_thumbnail( $post_ID, $content_struct['wp_featured_image'] ) === false ) 3758 3758 return new IXR_Error( 404, __( 'Invalid attachment ID.' ) ); 3759 3759
Note: See TracChangeset
for help on using the changeset viewer.