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-admin/includes/upgrade.php

    r46278 r46283  
    447447            array(
    448448                'wp_inactive_widgets' => array(),
    449                 'footer-one'          => array(
     449                'sidebar-1'          => array(
    450450                    0 => 'search-2',
    451451                    1 => 'recent-posts-2',
    452452                    2 => 'recent-comments-2',
    453453                ),
    454                 'footer-two'          => array(
     454                'sidebar-2'          => array(
    455455                    0 => 'archives-2',
    456456                    1 => 'categories-2',
Note: See TracChangeset for help on using the changeset viewer.