Customize: Update Text widget starter content to utilize visual mode.
Amends [38991]. Props dlh, westonruter. See #35243, #38114. Fixes #41410. git-svn-id: https://develop.svn.wordpress.org/trunk@41136 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
021dcb13a1
commit
06160eb060
|
@ -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(
|
||||
'<p><strong>' . _x( 'Address', 'Theme starter content' ) . '</strong><br />',
|
||||
_x( '123 Main Street', 'Theme starter content' ) . '<br />' . _x( 'New York, NY 10001', 'Theme starter content' ) . '</p>',
|
||||
'<p><strong>' . _x( 'Hours', 'Theme starter content' ) . '</strong><br />',
|
||||
_x( 'Monday—Friday: 9:00AM–5:00PM', 'Theme starter content' ) . '<br />' . _x( 'Saturday & Sunday: 11:00AM–3:00PM', 'Theme starter content' ) . '</p>'
|
||||
'<strong>' . _x( 'Address', 'Theme starter content' ) . "</strong>\n",
|
||||
_x( '123 Main Street', 'Theme starter content' ) . "\n" . _x( 'New York, NY 10001', 'Theme starter content' ) . "\n\n",
|
||||
'<strong>' . _x( 'Hours', 'Theme starter content' ) . "</strong>\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' ),
|
||||
|
|
Loading…
Reference in New Issue