Make WordPress Core

Changeset 40024


Ignore:
Timestamp:
01/28/2017 12:24:14 AM (8 years ago)
Author:
davidakennedy
Message:

Twenty Seventeen: Rename "Sidebar" widget area for clarity

Renames the "Sidebar" widget area to "Blog Sidebar" and adjust its description to set better expectations for users as to where it appears in the theme.

Props apmarshall

Fixes #39567.

File:
1 edited

Legend:

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

    r39894 r40024  
    313313function twentyseventeen_widgets_init() {
    314314    register_sidebar( array(
    315         'name'          => __( 'Sidebar', 'twentyseventeen' ),
     315        'name'          => __( 'Blog Sidebar', 'twentyseventeen' ),
    316316        'id'            => 'sidebar-1',
    317         'description'   => __( 'Add widgets here to appear in your sidebar.', 'twentyseventeen' ),
     317        'description'   => __( 'Add widgets here to appear in your sidebar on blog posts and archive pages.', 'twentyseventeen' ),
    318318        'before_widget' => '<section id="%1$s" class="widget %2$s">',
    319319        'after_widget'  => '</section>',
Note: See TracChangeset for help on using the changeset viewer.