diff --git a/src/wp-includes/widgets.php b/src/wp-includes/widgets.php
index db06222a51..5dececaaeb 100644
a
|
b
|
function dynamic_sidebar( $index = 1 ) { |
704 | 704 | |
705 | 705 | $sidebar = $wp_registered_sidebars[ $index ]; |
706 | 706 | |
707 | | $sidebar['before_sidebar'] = sprintf( $sidebar['before_sidebar'], $sidebar['id'], $sidebar['class'] ); |
| 707 | $sidebar['before_sidebar'] = sprintf( $sidebar['before_sidebar'], 'sidebar-' . $sidebar['id'], $sidebar['class'] ); |
708 | 708 | |
709 | 709 | /** |
710 | 710 | * Fires before widgets are rendered in a dynamic sidebar. |