#38244 closed defect (bug) (wontfix)
Class name of the widget title is incorrect
Reported by: | youthkee | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.7 |
Component: | Widgets | Keywords: | |
Focuses: | Cc: |
Description
There is an incorrect class name of the widget title at
/wp-includes/widgets.php line 250
'before_title' => '<h2 class="widgettitle">',
I think this should be as below to be applied default CSS styles.
'before_title' => '<h2 class="widget-title">',
It can be checked as accessing 404.php by some themes such as “Underscores”.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Thanks for the report! However, this cannot be changed due because of backwards compatibility for any themes that may have CSS that is targeting
.widgettitle
. A theme needs to opt-in towidget-title
when it callsregister_sidebar()
. Thanks!