Active sidebar bug
-
When I check “Allow this sidebar to be replaced” function is_active_sidebar returns true even if the sidebar is empty (instead of false). At the same time, function dynamic_sidebar returns empty string (which is expected). Without plugin is_active_sidebar returns false if the sidebar is empty.
Steps to reproduce:
- Goto Dashboard > Widgets
- Leave Sidebar-y empty and “Allow this sidebar to be replaced” unchecked
- Check the value of is_active_sidebar(“Sidebar-y“) on Page-X
- Goto Dashboard > Widgets and check “Allow this sidebar to be replaced” for Sidebar-Y
- Check the value of is_active_sidebar(“Sidebar-y“) on Page-X
`
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Active sidebar bug’ is closed to new replies.