From 345341f8d93a1cc28ecfc407be14d9ff33e5e7bf Mon Sep 17 00:00:00 2001 From: Helen Hou-Sandi Date: Tue, 15 Nov 2016 21:07:36 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@39255 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyseventeen/functions.php | 4 ++-- src/wp-includes/theme.php | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/wp-content/themes/twentyseventeen/functions.php b/src/wp-content/themes/twentyseventeen/functions.php index 5c176f2a88..79f76fc3c3 100644 --- a/src/wp-content/themes/twentyseventeen/functions.php +++ b/src/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/src/wp-includes/theme.php b/src/wp-includes/theme.php index d892ea73d8..9e72a888d7 100644 --- a/src/wp-includes/theme.php +++ b/src/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(