From 8648fc0bffd62bd85fbed5afdff415f3a67645be Mon Sep 17 00:00:00 2001 From: Weston Ruter Date: Mon, 24 Jul 2017 23:25:44 +0000 Subject: [PATCH] Customize: Update Text widget starter content to utilize visual mode. Amends [38991]. Props dlh, westonruter. See #35243, #38114. Fixes #41410. Built from https://develop.svn.wordpress.org/trunk@41136 git-svn-id: http://core.svn.wordpress.org/trunk@40976 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/theme.php | 12 ++++++++---- wp-includes/version.php | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/wp-includes/theme.php b/wp-includes/theme.php index e5cdd952b8..578c988628 100644 --- a/wp-includes/theme.php +++ b/wp-includes/theme.php @@ -1948,15 +1948,19 @@ function get_theme_starter_content() { 'text_business_info' => array( 'text', array( 'title' => _x( 'Find Us', 'Theme starter content' ), 'text' => join( '', array( - '

' . _x( 'Address', 'Theme starter content' ) . '
', - _x( '123 Main Street', 'Theme starter content' ) . '
' . _x( 'New York, NY 10001', 'Theme starter content' ) . '

', - '

' . _x( 'Hours', 'Theme starter content' ) . '
', - _x( 'Monday—Friday: 9:00AM–5:00PM', 'Theme starter content' ) . '
' . _x( 'Saturday & Sunday: 11:00AM–3:00PM', 'Theme starter content' ) . '

' + '' . _x( 'Address', 'Theme starter content' ) . "\n", + _x( '123 Main Street', 'Theme starter content' ) . "\n" . _x( 'New York, NY 10001', 'Theme starter content' ) . "\n\n", + '' . _x( 'Hours', 'Theme starter content' ) . "\n", + _x( 'Monday—Friday: 9:00AM–5:00PM', 'Theme starter content' ) . "\n" . _x( 'Saturday & Sunday: 11:00AM–3:00PM', 'Theme starter content' ) ) ), + 'filter' => true, + 'visual' => true, ) ), 'text_about' => array( 'text', array( 'title' => _x( 'About This Site', 'Theme starter content' ), 'text' => _x( 'This may be a good place to introduce yourself and your site or include some credits.', 'Theme starter content' ), + 'filter' => true, + 'visual' => true, ) ), 'archives' => array( 'archives', array( 'title' => _x( 'Archives', 'Theme starter content' ), diff --git a/wp-includes/version.php b/wp-includes/version.php index b9ab746449..c2552376d6 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-alpha-41134'; +$wp_version = '4.9-alpha-41136'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.