From 8485582c8a978f046ec9f2cc8f76a4d9e93a4bde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Helen=20Hou-Sand=C3=AD?= Date: Tue, 15 Nov 2016 21:08:30 +0000 Subject: [PATCH] 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 --- wp-content/themes/twentyseventeen/functions.php | 4 ++-- wp-includes/theme.php | 6 +++--- wp-includes/version.php | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/wp-content/themes/twentyseventeen/functions.php b/wp-content/themes/twentyseventeen/functions.php index 5c176f2a88..79f76fc3c3 100644 --- a/wp-content/themes/twentyseventeen/functions.php +++ b/wp-content/themes/twentyseventeen/functions.php @@ -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', ), ), diff --git a/wp-includes/theme.php b/wp-includes/theme.php index d892ea73d8..9e72a888d7 100644 --- a/wp-includes/theme.php +++ b/wp-includes/theme.php @@ -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( diff --git a/wp-includes/version.php b/wp-includes/version.php index a9454d84bb..52f9307a24 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.