WordPress.org

Make WordPress Core

Opened 12 months ago

Last modified 3 months ago

#39693 closed enhancement

Fix missing assignment of widgets on theme switch — at Version 2

Reported by: melchoyce Owned by:
Milestone: 4.9 Priority: high
Severity: normal Version:
Component: Widgets Keywords: has-unit-tests has-patch commit
Focuses: Cc:

Description (last modified by westonruter)

Switching themes will cause widgets to be "lost" in theme switch. See this post for examples.

Related: #19912, which focuses on one specific solution — I'd like to see us step back from that and think about other ways to approach this problem.

Related: #39692, for the same problem with nav menus.

Change History (2)

#1 @melchoyce
12 months ago

Also related: #39692

#2 @westonruter
12 months ago

  • Description modified (diff)
  • Milestone changed from Awaiting Review to 4.8

If we don't use the concept of a widget group (#19912), what's an alternative to what core currently does in trying to guess a sidebar to re-assign the widgets to? Add a user step to ask where they'd like widgets (and nav menus) to appear as an interstitial when doing a theme switch? That doesn't seem ideal either.

Note: See TracTickets for help on using tickets.