Theme starter content: Revamp the credits widget into an about widget.

The credits widget from the original commit was a nice test to see the date changing, but isn't really very inspirational. Also, implement it in Twenty Seventeen.

see #38615.

Built from https://develop.svn.wordpress.org/trunk@39255


git-svn-id: http://core.svn.wordpress.org/trunk@39195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Helen Hou-Sandí 2016-11-15 21:08:30 +00:00
parent ec0043c279
commit 8485582c8a
3 changed files with 6 additions and 6 deletions

View File

@ -108,7 +108,7 @@ function twentyseventeen_setup() {
'sidebar-1' => array(
'text_business_info',
'search',
'text_credits',
'text_about',
),
'sidebar-2' => array(
@ -116,7 +116,7 @@ function twentyseventeen_setup() {
),
'sidebar-3' => array(
'text_credits',
'text_about',
),
),

View File

@ -1838,9 +1838,9 @@ function get_theme_starter_content() {
'search' => array( 'search', array(
'title' => _x( 'Site Search', 'Theme starter content' ),
) ),
'text_credits' => array( 'text', array(
'title' => _x( 'Site Credits', 'Theme starter content' ),
'text' => sprintf( _x( 'This site was created on %s', 'Theme starter content' ), get_date_from_gmt( current_time( 'mysql', 1 ), 'c' ) ),
'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' ),
) ),
),
'nav_menus' => array(

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.7-beta3-39254';
$wp_version = '4.7-beta3-39255';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.