is_active_sidebar() cannot accept a sidebar name as input
|Reported by:||dvmorris||Owned by:|
If I send a sidebar name, such as "Right Sidebar", to is_active_sidebar($index), it does not properly translate the name into the sidebar id. The function is on line 971 of wp-includes/widgets.php, and the @param comment implies that it is able to accept sidebar names as input.
If you replace line 972 with the logic from dynamic_sidebar() on lines 842-854, it works properly. Perhaps these lines of code should be moved to a function so they do not need to be repeated twice to fix this issue.