From c621d4fb3f9fd1306190f97c6f784622fa350967 Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Thu, 10 Oct 2019 19:07:05 +0000 Subject: [PATCH] Themes: Convert core-provided starter content to block content. Props Clorith. Fixes #48130. Built from https://develop.svn.wordpress.org/trunk@46457 git-svn-id: http://core.svn.wordpress.org/trunk@46255 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/theme.php | 20 ++++++++++++++++---- wp-includes/version.php | 2 +- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/wp-includes/theme.php b/wp-includes/theme.php index 59c44e01e0..f20d2a0e8b 100644 --- a/wp-includes/theme.php +++ b/wp-includes/theme.php @@ -2191,17 +2191,26 @@ function get_theme_starter_content() { 'home' => array( 'post_type' => 'page', 'post_title' => _x( 'Home', 'Theme starter content' ), - 'post_content' => _x( 'Welcome to your site! This is your homepage, which is what most visitors will see when they come to your site for the first time.', 'Theme starter content' ), + 'post_content' => sprintf( + "\n

%s

\n", + _x( 'Welcome to your site! This is your homepage, which is what most visitors will see when they come to your site for the first time.', 'Theme starter content' ) + ), ), 'about' => array( 'post_type' => 'page', 'post_title' => _x( 'About', 'Theme starter content' ), - 'post_content' => _x( 'You might be an artist who would like to introduce yourself and your work here or maybe you’re a business with a mission to describe.', 'Theme starter content' ), + 'post_content' => sprintf( + "\n

%s

\n", + _x( 'You might be an artist who would like to introduce yourself and your work here or maybe you’re a business with a mission to describe.', 'Theme starter content' ) + ), ), 'contact' => array( 'post_type' => 'page', 'post_title' => _x( 'Contact', 'Theme starter content' ), - 'post_content' => _x( 'This is a page with some basic contact information, such as an address and phone number. You might also try a plugin to add a contact form.', 'Theme starter content' ), + 'post_content' => sprintf( + "\n

%s

\n", + _x( 'This is a page with some basic contact information, such as an address and phone number. You might also try a plugin to add a contact form.', 'Theme starter content' ) + ), ), 'blog' => array( 'post_type' => 'page', @@ -2215,7 +2224,10 @@ function get_theme_starter_content() { 'homepage-section' => array( 'post_type' => 'page', 'post_title' => _x( 'A homepage section', 'Theme starter content' ), - 'post_content' => _x( 'This is an example of a homepage section. Homepage sections can be any page other than the homepage itself, including the page that shows your latest blog posts.', 'Theme starter content' ), + 'post_content' => sprintf( + "\n

%s

\n", + _x( 'This is an example of a homepage section. Homepage sections can be any page other than the homepage itself, including the page that shows your latest blog posts.', 'Theme starter content' ) + ), ), ), ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 6790ff9d48..821967ee4b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-beta3-46456'; +$wp_version = '5.3-beta3-46457'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.