Make WordPress Core

Changeset 41136 for trunk


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

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

Amends [38991].
Props dlh, westonruter.
See #35243, #38114.
Fixes #41410.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/theme.php

    r40676 r41136  
    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.