Revert [31729] since `<aside>` seems not to be the appropriate HTML5 tag.
see #30556. git-svn-id: https://develop.svn.wordpress.org/trunk@31826 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
60f95452a4
commit
9c21bedcbb
|
@ -814,12 +814,6 @@ function register_sidebar($args = array()) {
|
|||
'after_title' => "</h2>\n",
|
||||
);
|
||||
|
||||
if ( current_theme_supports( 'html5', 'widgets' ) ) {
|
||||
$defaults['before_widget'] = '<aside id="%1$s" class="widget %2$s">';
|
||||
$defaults['after_widget'] = "</aside>\n";
|
||||
$defaults['before_title'] = '<h2 class="widget-title">';
|
||||
}
|
||||
|
||||
$sidebar = wp_parse_args( $args, $defaults );
|
||||
|
||||
$wp_registered_sidebars[$sidebar['id']] = $sidebar;
|
||||
|
|
Loading…
Reference in New Issue