Ticket #48120: 48120.diff
File 48120.diff, 520 bytes (added by , 5 years ago) |
---|
-
src/wp-admin/post.php
diff --git a/src/wp-admin/post.php b/src/wp-admin/post.php index ef3e73a829..2121d7bc0c 100644
a b switch ( $action ) { 95 95 96 96 $_POST['comment_status'] = get_default_comment_status( $post->post_type ); 97 97 $_POST['ping_status'] = get_default_comment_status( $post->post_type, 'pingback' ); 98 $_POST['content'] = '<!-- wp:paragraph --><p>' . nl2br( $_POST['content'] ) . '</p><!-- /wp:paragraph -->'; 98 99 99 100 edit_post(); 100 101 wp_dashboard_quick_press();