WordPress.org

Make WordPress Core

Changeset 19452


Ignore:
Timestamp:
11/25/2011 07:46:41 PM (6 years ago)
Author:
azaozz
Message:

Make sure all orphaned sidebars are shown on the left (under Available Widgets), see #19350

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/widgets.php

    r19449 r19452  
    9797            register_sidebar(array(
    9898                'name' => __( 'Inactive Sidebar (from previous theme)' ),
    99                 'id' => $sidebar_id,
     99                'id' => 'orphaned_widgets-' . $sidebar_id,
    100100                'class' => 'inactive-sidebar orphan-sidebar',
    101101                'description' => __( 'This is a left over sidebar from an old theme and does not show anywhere on your site' ),
Note: See TracChangeset for help on using the changeset viewer.