change widgets to use <section> instead of <article> - see #379

This commit is contained in:
ChrisClayton
2012-04-06 16:17:36 +10:00
parent f7f86c9e92
commit fc3bec5069

View File

@@ -58,8 +58,8 @@ function roots_register_sidebars() {
'id' => 'roots-' . sanitize_title($sidebar),
'name' => __($sidebar, 'roots'),
'description' => __($sidebar, 'roots'),
'before_widget' => '<article id="%1$s" class="widget %2$s"><div class="widget-inner">',
'after_widget' => '</div></article>',
'before_widget' => '<section id="%1$s" class="widget %2$s"><div class="widget-inner">',
'after_widget' => '</div></section>',
'before_title' => '<h3>',
'after_title' => '</h3>'
)