Make WordPress Core

Opened 11 years ago

Last modified 6 years ago

#27236 new defect (bug)

Custom Widgets lost when theme is re-activated while the widget plugin is inactive

Reported by: asadkn's profile asadkn Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.8.1
Component: Widgets Keywords: needs-patch
Focuses: Cc:

Description (last modified by danielbachhuber)

It could be a rare issue for others, but it's a regular process for my use-case.

Custom Widgets are no longer shown in the widget area when theme is de-activated and re-activated while the plugin that provided one of the widgets is inactive.

Steps: (Assumes, twenty fourteen is active)

  1. Install Slim Jetpack plugin (or any other plugin that provides a widget). I enabled the Extra Sidebar Widgets from Settings > Slim Jetpack.
  1. Add one of the Slim Jetpack widgets to the "Primary Sidebar" for example "Gravatar Profile (Jetpack)".
  1. De-active Slim Jetpack.
  1. Activate "Twenty Thirteen" theme.
  1. Activate "Twenty Fourteen" theme.
  1. Activate "Slim Jetpack". Unfortunately, the custom widget is lost.

If you had normally de-activated and re-activated Slim Jetpacks, the Primary Sidebar would be fine. If you had done 4 and 5 without 3, everything would be good.

But doing the steps as above, the widget is no longer in the sidebar - not even under Inactive Widgets.

Change History (3)

This ticket was mentioned in IRC in #wordpress-dev by Asad. View the logs.


11 years ago

#2 @danielbachhuber
11 years ago

  • Description modified (diff)

#3 @chriscct7
9 years ago

  • Keywords needs-patch added
Note: See TracTickets for help on using tickets.