Make WordPress Core

Opened 2 years ago

#55095 new defect (bug)

Adding widgets to widget area with the classic editor in appearance => widgets, widget does not display on front-end (brand new widgets only))

Reported by: morgscode94's profile morgscode94 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.9
Component: Widgets Keywords:
Focuses: administration, template Cc:



I have noticed that when trying to create and manage widgets in the classic editor using the view; appearance => widgets, that when you attempt to display the widget on the front-end of the website using dynamic_sidebar('sidebar-name'), that for some reason the widget does not display.

This only happens with brand new widget areas that have had no previous widgets assigned to them.

I then added a new widget to the same widget area in the customizer => widgets view, and the widget then displayed using dynamic_sidebar('sidebar-name'). This then showed both widgets added to the area, the widget i assigned in appearance => widgets, and the new one i just assinged in customizer => widgets. To be clear these widgets were exactly the same in both widget used and content assigned.

after doing this through the customizer, then adding another widget to the widget area in the appearance => widgets view, the updates are displaying on the front-end as you would expect.

I am using self-hosted a self-hosted WordPress website.

The widget I was trying to add to my website was a custom widget that, that followed the documentation in to the letter.

Change History (0)

Note: See TracTickets for help on using tickets.