Closed sitoexpress closed 4 months ago
Hi @sitoexpress,
Thank you for reporting this. I've corrected this issue in https://github.com/siteorigin/so-widgets-bundle/pull/1968 and it'll be included in a future SiteOrigin Widgets Bundle update. Thanks again! :)
Kind regards, Alex
While setting up a multilingual website moving form WPML to TranslatePress, everything was almost working fine, but the Headline widget messing up the page HTML in TranslatePress translations.
After some digging, I've noticed that esc_html_e($tag) in tpl/default.php of the Headline widget could be switched with echo esc_attr($tag), since there's no need to escape any actual special html character such as <, keeping things safe while making TranslatePress work fine with headline text translation.