Changeset 49172 for trunk/src/wp-admin/includes/post.php
- Timestamp:
- 10/16/2020 03:32:11 AM (5 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/post.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/post.php
r49108 r49172 686 686 'post_type' => $post_type, 687 687 'post_status' => 'auto-draft', 688 ) 688 ), 689 false, 690 true 689 691 ); 690 692 $post = get_post( $post_id ); … … 692 694 set_post_format( $post, get_option( 'default_post_format' ) ); 693 695 } 696 wp_after_insert_post( $post, false ); 694 697 695 698 // Schedule auto-draft cleanup.
Note: See TracChangeset
for help on using the changeset viewer.