mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Revert [31729] since <aside>
seems not to be the appropriate HTML5 tag.
see #30556. Built from https://develop.svn.wordpress.org/trunk@31826 git-svn-id: http://core.svn.wordpress.org/trunk@31808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ed26d94667
commit
883b587f1d
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.2-beta1-31825';
|
||||
$wp_version = '4.2-beta1-31826';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
@ -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
Block a user