Make WordPress Core

Opened 6 years ago

#51538 new defect (bug)

Widget disappears from the sidebar when switching the theme and back again.

Reported by: mhshohel Owned by:
Priority: normal Milestone: Awaiting Review
Component: Widgets Version: 5.5.1
Severity: critical Keywords: has-patch
Cc: Focuses:

Description

A widget with ID activity_right disappearing when I switch BuddBboss theme to Twenty Twenty theme. This because of there something wrong with Widget Mapping

wp-includes/widgets.php

line number 1371

It should move widgets to new $new_sidebars_widgets when $new_sidebars_widgets has the same sidebar as $existing_sidebars_widgets has, then only, otherwise move it to inactivate sidebar.

Attaching a patch

Attachments (1)

widget_fix.diff (822 bytes ) - added by mhshohel 6 years ago.
It will fix widget disappear issue with widget ID activity_right from BuddyBoss theme to 2020 theme

Download all attachments as: .zip

Change History (1)

@mhshohel
6 years ago

It will fix widget disappear issue with widget ID activity_right from BuddyBoss theme to 2020 theme

Note: See TracTickets for help on using tickets.