diff --git a/src/wp-includes/widgets.php b/src/wp-includes/widgets.php index 229b5ec29b..40bf54c528 100644 --- a/src/wp-includes/widgets.php +++ b/src/wp-includes/widgets.php @@ -814,12 +814,6 @@ function register_sidebar($args = array()) { 'after_title' => "\n", ); - if ( current_theme_supports( 'html5', 'widgets' ) ) { - $defaults['before_widget'] = '\n"; - $defaults['before_title'] = '

'; - } - $sidebar = wp_parse_args( $args, $defaults ); $wp_registered_sidebars[$sidebar['id']] = $sidebar;