kasparsd/widget-context-wporg — pull request #4 by emhr (2013-03-22 19:17:04+00:00)
Title: Fix for is_active_sidebar & is_dynamic_sidebar issues

Hiding by filtering widget_display_callback makes is_active_sidebar
return TRUE on sidebars with only one widget which happens to be
contextually hidden.

Usetting the contextually hidden widget from the sidebar on the front
end restores the desired behavior

Props to Widget Logic.