Describe the bug
When I add the Social Icons widget to my sidebar with a link, it gives this warning:
Warning: sprintf(): Too few arguments in simple-social-icons.php on line 458
I believe this is due to the url being escaped, which causes it to have an extra % sign. That causes sprintf to think there should be more values passed in.
Describe the bug When I add the Social Icons widget to my sidebar with a link, it gives this warning:
Warning: sprintf(): Too few arguments in simple-social-icons.php on line 458
I believe this is due to the url being escaped, which causes it to have an extra
%
sign. That causes sprintf to think there should be more values passed in.Changing the
esc_url
toesc_attr
fixes the issue here: https://github.com/studiopress/simple-social-icons/blob/develop/simple-social-icons.php#L567To Reproduce Steps to reproduce the behavior:
Expected behavior Icons are output with no warnings or errors.
Screenshots
Version
develop
branch