Ticket #44914: 44914.patch
File 44914.patch, 537 bytes (added by , 6 years ago) |
---|
-
wordpress/wp-admin/includes/post.php
diff -Naur wordpress/wp-admin/includes/post.php wordpress/wp-admin/includes/post.php
567 567 if ( isset( $post_data['post_format'] ) ) { 568 568 set_post_format( $post_ID, $post_data['post_format'] ); 569 569 unset( $post_data['tax_input']['post_format'] ); 570 } else { 571 unset( $post_data['tax_input']['post_format'] ); 570 572 } 571 573 572 574 $updated[] = wp_update_post( $post_data );