WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/23/2019 11:16:59 PM (2 years ago)
Author:
SergeyBiryukov
Message:

Twenty Twenty: Rename widget areas to sidebar-1 and sidebar-2.

This ensures that widgets are mapped correctly and is consistent with the previous default themes.

See https://github.com/WordPress/twentytwenty/issues/481.

Reverts [46282].

Props ocean90, garrett-eclipse, desrosj, SergeyBiryukov.
See #48110.

File:
1 edited

Legend:

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

    r46271 r46283  
    335335                array(
    336336                    'name'        => __( 'Footer #1', 'twentytwenty' ),
    337                     'id'          => 'footer-one',
     337                    'id'          => 'sidebar-1',
    338338                    'description' => __( 'Widgets in this area will be displayed in the first column in the footer.', 'twentytwenty' ),
    339339                )
     
    347347                array(
    348348                    'name'        => __( 'Footer #2', 'twentytwenty' ),
    349                     'id'          => 'footer-two',
     349                    'id'          => 'sidebar-2',
    350350                    'description' => __( 'Widgets in this area will be displayed in the second column in the footer.', 'twentytwenty' ),
    351351                )
Note: See TracChangeset for help on using the changeset viewer.