We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In line 213, variable $title is defined like so :
$title
$title = empty($instance['title']) ? ' ' : apply_filters('widget_title', $instance['title']);
So $title is never actually empty (there's at least one space).
And then, in line 228, it checks $title and therefore always displays a heading tag :
if (!empty($title)) echo $before_title . $title . $after_title;
I believe you should leave $title as an empty string if none is provided.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In line 213, variable
$title
is defined like so :So
$title
is never actually empty (there's at least one space).And then, in line 228, it checks $title and therefore always displays a heading tag :
I believe you should leave
$title
as an empty string if none is provided.The text was updated successfully, but these errors were encountered: