You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: