WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 5 years ago

#7851 closed defect (bug) (fixed)

Switching to a theme with 1 widget sidebar from a theme with mulitple sidebars disables widgets in other sidebars

Reported by: apeatling Owned by:
Milestone: 2.8 Priority: normal
Severity: minor Version: 2.7
Component: Widgets Keywords: widgets, sidebars, themes
Focuses: Cc:

Description

This was in WordPress MU release 2.6.2 - but it's the same in WordPress 2.6.2.

To reproduce:

1) Use a theme with multiple widget enabled sidebars.
2) Add widgets to all sidebars.
3) Switch to a theme with only 1 sidebar.

Widgets in sidebars other than the first sidebar are still registered as "in use" so you cannot access them or add them into the first sidebar instead. You cannot get to those widgets to remove them from the other sidebars as those sidebars no longer exist in the currently activated theme.

A few solutions:

1) Put a "Remove" link on widgets in the left hand column when they are in use.
2) Remove widgets automatically from sidebars that no longer exist in a new theme.
3) Reset widgets when you change themes.

Change History (6)

comment:1 apeatling6 years ago

This is all in "Design > Widgets" obviously.

comment:2 Denis-de-Bernardy5 years ago

  • Version set to 2.7

comment:3 MichaelH5 years ago

Couple of forum threads with this issue: http://wordpress.org/tags/trac7851

comment:4 ryan5 years ago

  • Component changed from General to Widgets
  • Owner anonymous deleted

comment:6 ryan5 years ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.