• Resolved loshmi73

    (@loshmi73)


    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)
  • Plugin Author WebFactory

    (@webfactory)

    Thank you for the detailed report and explanation. I’ve forwarded this to our devs. From what I can tell at the moment it’s not gonna be a “5min fix” ??

    Thread Starter loshmi73

    (@loshmi73)

    Thank you for your quick response. I hope the developers won’t have much trouble ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Active sidebar bug’ is closed to new replies.