Hi,
When deleting a widget, how to update in "real time" database ( wp_options>sidebars_widgets)?
Indeed, when a user deletes all widgets of a widget area, the blank code becomes invalid XHTML.
I tried to use a marker conditional ul when sidebar is empty, mais it doesn't work if, because "ghosts" widgets are stored in database!
I hope that my question was clear, despite my poor English. :)
Any help would be appreciated. Thanks.
Regards.
V.