Changeset 41187 for trunk/src/wp-admin/includes/post.php
- Timestamp:
- 07/30/2017 02:40:42 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/post.php
r40989 r41187 565 565 } 566 566 567 if ( isset( $post_data['post_format'] ) ) { 568 set_post_format( $post_ID, $post_data['post_format'] ); 569 unset( $post_data['tax_input']['post_format'] ); 570 } 571 567 572 $updated[] = wp_update_post( $post_data ); 568 573 … … 573 578 unstick_post( $post_ID ); 574 579 } 575 576 if ( isset( $post_data['post_format'] ) )577 set_post_format( $post_ID, $post_data['post_format'] );578 580 } 579 581
Note: See TracChangeset
for help on using the changeset viewer.