mirror of
https://github.com/WordPress/WordPress.git
synced 2024-06-24 13:54:59 +02:00
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:
parent
ec0043c279
commit
8485582c8a
|
@ -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',
|
||||
),
|
||||
),
|
||||
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user