diff --git a/src/wp-admin/post.php b/src/wp-admin/post.php index 291a1a6ac0..3422e1886a 100644 --- a/src/wp-admin/post.php +++ b/src/wp-admin/post.php @@ -96,6 +96,14 @@ switch ( $action ) { $_POST['comment_status'] = get_default_comment_status( $post->post_type ); $_POST['ping_status'] = get_default_comment_status( $post->post_type, 'pingback' ); + // Wrap Quick Draft content in the Paragraph block. + if ( false === strpos( $_POST['content'], '' ) ) { + $_POST['content'] = sprintf( + '%s', + str_replace( array( "\r\n", "\r", "\n" ), '
', $_POST['content'] ) + ); + } + edit_post(); wp_dashboard_quick_press(); exit;