Make WordPress Core

Changeset 41137


Ignore:
Timestamp:
07/24/2017 11:26:36 PM (7 years ago)
Author:
westonruter
Message:

Customize: Update Text widget starter content to utilize visual mode.

Merges [41136] onto 4.8 branch.
Amends [38991].
Props dlh, westonruter.
See #35243, #38114.
Fixes #41410 for 4.8.1.

Location:
branches/4.8
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.8

  • branches/4.8/src/wp-includes/theme.php

    r40676 r41137  
    19491949                'title' => _x( 'Find Us', 'Theme starter content' ),
    19501950                'text' => join( '', array(
    1951                     '<p><strong>' . _x( 'Address', 'Theme starter content' ) . '</strong><br />',
    1952                     _x( '123 Main Street', 'Theme starter content' ) . '<br />' . _x( 'New York, NY 10001', 'Theme starter content' ) . '</p>',
    1953                     '<p><strong>' . _x( 'Hours', 'Theme starter content' ) . '</strong><br />',
    1954                     _x( 'Monday&mdash;Friday: 9:00AM&ndash;5:00PM', 'Theme starter content' ) . '<br />' . _x( 'Saturday &amp; Sunday: 11:00AM&ndash;3:00PM', 'Theme starter content' ) . '</p>'
     1951                    '<strong>' . _x( 'Address', 'Theme starter content' ) . "</strong>\n",
     1952                    _x( '123 Main Street', 'Theme starter content' ) . "\n" . _x( 'New York, NY 10001', 'Theme starter content' ) . "\n\n",
     1953                    '<strong>' . _x( 'Hours', 'Theme starter content' ) . "</strong>\n",
     1954                    _x( 'Monday&mdash;Friday: 9:00AM&ndash;5:00PM', 'Theme starter content' ) . "\n" . _x( 'Saturday &amp; Sunday: 11:00AM&ndash;3:00PM', 'Theme starter content' )
    19551955                ) ),
     1956                'filter' => true,
     1957                'visual' => true,
    19561958            ) ),
    19571959            'text_about' => array( 'text', array(
    19581960                'title' => _x( 'About This Site', 'Theme starter content' ),
    19591961                'text' => _x( 'This may be a good place to introduce yourself and your site or include some credits.', 'Theme starter content' ),
     1962                'filter' => true,
     1963                'visual' => true,
    19601964            ) ),
    19611965            'archives' => array( 'archives', array(
Note: See TracChangeset for help on using the changeset viewer.