[wp-trac] [WordPress Trac] #21430: Text widget puts a space in <h3> </h3> if title empty
WordPress Trac
wp-trac at lists.automattic.com
Wed Aug 1 05:01:45 UTC 2012
#21430: Text widget puts a space in <h3> </h3> if title empty
-------------------------------------+------------------------------
Reporter: rulatir | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Widgets | Version: 3.4.1
Severity: normal | Resolution:
Keywords: reporter-feedback close |
-------------------------------------+------------------------------
Changes (by rulatir):
* keywords: reporter-feedback => reporter-feedback close
Comment:
Thanks for quick response! You were right, ET are the culprit. From
DailyNotes/epanel/custom_functions.php:
{{{
add_filter('widget_title','et_widget_force_title');
function et_widget_force_title( $title ){
#add an empty title for widgets ( otherwise it might break the
sidebar layout )
if ( $title == '' ) $title = ' ';
return $title;
}
}}}
Brilliant. Fortunately a filter with priority 20 will undo this.
Resolved/invalid.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21430#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list