Changed widget wrapper from div to section

Per https://github.com/WordPress/twentysixteen/issues/355
This commit is contained in:
Mark Batchelder 2015-11-24 00:06:27 -08:00
parent 15cef7e795
commit 77e3087c2e
1 changed files with 2 additions and 2 deletions

View File

@ -102,8 +102,8 @@ function _s_widgets_init() {
'name' => esc_html__( 'Sidebar', '_s' ), 'name' => esc_html__( 'Sidebar', '_s' ),
'id' => 'sidebar-1', 'id' => 'sidebar-1',
'description' => '', 'description' => '',
'before_widget' => '<div id="%1$s" class="widget %2$s">', 'before_widget' => '<section id="%1$s" class="widget %2$s">',
'after_widget' => '</div>', 'after_widget' => '</section>',
'before_title' => '<h2 class="widget-title">', 'before_title' => '<h2 class="widget-title">',
'after_title' => '</h2>', 'after_title' => '</h2>',
) ); ) );