WordPress.org

Make WordPress Core

Changeset 31826


Ignore:
Timestamp:
03/18/2015 10:25:20 PM (5 years ago)
Author:
ocean90
Message:

Revert [31729] since <aside> seems not to be the appropriate HTML5 tag.

see #30556.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/widgets.php

    r31729 r31826  
    814814        'after_title' => "</h2>\n",
    815815    );
    816 
    817     if ( current_theme_supports( 'html5', 'widgets' ) ) {
    818         $defaults['before_widget'] = '<aside id="%1$s" class="widget %2$s">';
    819         $defaults['after_widget'] = "</aside>\n";
    820         $defaults['before_title'] = '<h2 class="widget-title">';
    821     }
    822816
    823817    $sidebar = wp_parse_args( $args, $defaults );
Note: See TracChangeset for help on using the changeset viewer.