diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php index 335a7cbc37..1231ce44c2 100644 --- a/wp-includes/formatting.php +++ b/wp-includes/formatting.php @@ -500,6 +500,9 @@ function wpautop( $pee, $br = true ) { // Add a double line break below block-level closing tags. $pee = preg_replace( '!()!', "$1\n\n", $pee ); + // Add a double line break after hr tags, which are self closing. + $pee = preg_replace( '!()!', "$1\n\n", $pee ); + // Standardize newline characters to "\n". $pee = str_replace( array( "\r\n", "\r" ), "\n", $pee ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 801b0fab0b..04e8a4c5e4 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-45573'; +$wp_version = '5.3-alpha-45574'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.