Make WordPress Core

Opened 10 years ago

Closed 9 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:


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)

#1 @apeatling
10 years ago

This is all in "Design > Widgets" obviously.

#2 @Denis-de-Bernardy
9 years ago

  • Version set to 2.7

#3 @MichaelH
9 years ago

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

#4 @ryan
9 years ago

  • Component changed from General to Widgets
  • Owner anonymous deleted

#6 @ryan
9 years ago

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