Opened 4 years ago
#51538 new defect (bug)
Widget disappears from the sidebar when switching the theme and back again.
Reported by: | mhshohel | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | critical | Version: | 5.5.1 |
Component: | Widgets | Keywords: | has-patch |
Focuses: | Cc: |
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)
Note: See
TracTickets for help on using
tickets.
It will fix widget disappear issue with widget ID activity_right from BuddyBoss theme to 2020 theme