Changeset 44670 for trunk/src/wp-admin/includes/post.php
- Timestamp:
- 01/21/2019 06:04:55 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/post.php
r44574 r44670 611 611 if ( isset( $shared_post_data['post_format'] ) ) { 612 612 set_post_format( $post_ID, $shared_post_data['post_format'] ); 613 unset( $post_data['tax_input']['post_format'] ); 614 } 613 } 614 615 // Prevent wp_insert_post() from overwriting post format with the old data. 616 unset( $post_data['tax_input']['post_format'] ); 615 617 616 618 $updated[] = wp_update_post( $post_data );
Note: See TracChangeset
for help on using the changeset viewer.