WordPress.org

Make WordPress Core

Changeset 39255


Ignore:
Timestamp:
11/15/16 21:07:36 (6 months ago)
Author:
helen
Message:

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.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyseventeen/functions.php

    r39215 r39255  
    109109                'text_business_info', 
    110110                'search', 
    111                 'text_credits', 
     111                'text_about', 
    112112            ), 
    113113 
     
    117117 
    118118            'sidebar-3' => array( 
    119                 'text_credits', 
     119                'text_about', 
    120120            ), 
    121121        ), 
  • trunk/src/wp-includes/theme.php

    r39241 r39255  
    18391839                'title' => _x( 'Site Search', 'Theme starter content' ), 
    18401840            ) ), 
    1841             'text_credits' => array( 'text', array( 
    1842                 'title' => _x( 'Site Credits', 'Theme starter content' ), 
    1843                 'text' => sprintf( _x( 'This site was created on %s', 'Theme starter content' ), get_date_from_gmt( current_time( 'mysql', 1 ), 'c' ) ), 
     1841            'text_about' => array( 'text', array( 
     1842                'title' => _x( 'About This Site', 'Theme starter content' ), 
     1843                'text' => _x( 'This may be a good place to introduce yourself and your site or include some credits.', 'Theme starter content' ), 
    18441844            ) ), 
    18451845        ), 
Note: See TracChangeset for help on using the changeset viewer.