woothemes/woocommerce — pull request #2060 by GeertDD (2012-12-26 16:05:17+00:00)
Title: Tweaks to title of the layered nav filters widget

- The `widget_title` filter should be applied to all widget titles.
- Don’t hardcode the widget title. Even if no admin interface for setting a custom title is present, a custom title still can be provided via the `the_widget()` function.
- Don’t display the wrapping HTML for the widget title if no title is given.

These changes are just some best practices that should be kept in mind. Have a look at some default WordPress widgets (e.g. `WP_Widget_Pages`) to see the same approach.