Make WordPress Core


Ignore:
Timestamp:
09/23/2019 11:16:59 PM (6 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/inc/starter-content.php

    r46271 r46283  
    2424        'widgets'   => array(
    2525            // Place one core-defined widgets in the first tooter widget area.
    26             'footer-one' => array(
     26            'sidebar-1' => array(
    2727                'text_about',
    2828            ),
    2929            // Place one core-defined widgets in the second tooter widget area.
    30             'footer-two' => array(
     30            'sidebar-2' => array(
    3131                'text_business_info',
    3232            ),
Note: See TracChangeset for help on using the changeset viewer.