diff --git a/wp-admin/post.php b/wp-admin/post.php index 291a1a6ac0..3422e1886a 100644 --- a/wp-admin/post.php +++ b/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; diff --git a/wp-includes/version.php b/wp-includes/version.php index 20fee7400b..4cc9ef10c3 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-alpha-47190'; +$wp_version = '5.4-alpha-47191'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.