Social Share Button plugin v2.1.14 – Icons/links rendering as HTML after upgrade

Ticket for: Social Share Button
0
Social Share Button plugin v2.1.14 – Icons/links rendering as HTML after upgrade 1
Prabakaran
Mar 17, 2026 12:35 AM 0 Answers
Member Since Jan 1970
Unsolved Solved Mark as Solved Mark as Unsolved
Subscribed Subscribe Not subscribe
Flag(0)

After upgrading the Social Share Button plugin to v2.1.14, the social share buttons/links are broken and the icons appear as HTML tags instead of rendering properly.

During troubleshooting, I found the issue appears to originate from:

/social-share-button/templates/buttons.php

Specifically these lines:

esc_html($site_info['icon'])
esc_html($site_info['title'])

It seems that escaping these values is causing the icon HTML to render as plain text. If esc_html() is removed, the buttons display correctly and work as expected.

Could you please review this behavior and confirm whether this change was intentional or if a fix/alternative approach is recommended?

Thank you for your assistance.

0 Subscribers
Submit Answer
Please login to submit answer.
0 Answers
Sort By: