diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php index fae8a58dfe..8eb3c36f77 100644 --- a/wp-includes/formatting.php +++ b/wp-includes/formatting.php @@ -468,7 +468,7 @@ function wpautop( $pee, $br = true ) { $allblocks = '(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|form|map|area|blockquote|address|math|style|p|h[1-6]|hr|fieldset|legend|section|article|aside|hgroup|header|footer|nav|figure|figcaption|details|menu|summary)'; - // Add a single line break above block-level opening tags. + // Add a double line break above block-level opening tags. $pee = preg_replace('!(<' . $allblocks . '[\s/>])!', "\n\n$1", $pee); // Add a double line break below block-level closing tags. diff --git a/wp-includes/version.php b/wp-includes/version.php index eb48c4ba0f..f4a3b9783e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-alpha-38592'; +$wp_version = '4.7-alpha-38593'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.