0.8.1 Returning incorrect "true" for "is_active_sidebar()" and "
-
Both the is_active_sidebar and is_dynamic_sidebar functions are returning true on pages with no widgets.
As a developer who implements designs with “collapsing” widget areas that disappear when empty and allow the site to restructure, getting an incorrect “true” means broken site layouts due to “empty” sidebars appearing in places where they are not wanted.
I found a temporary solution that required using an object to check if the sidebar has content, but that breaks non-static widgets such as: widgets with javascript and/or widgets that contain positions of their own for tabbed content/etc.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘0.8.1 Returning incorrect "true" for "is_active_sidebar()" and "’ is closed to new replies.