BUG – Ampersands in post title break Twitter sharing
-
If a post title includes an ampersand (&) character, the Twitter share breaks at that character. To fix this, I added the line:
$use_tweet = str_replace(‘&’, ‘%26’, $use_tweet);
at line 512 in \wp-content\plugins\easy-social-share-buttons3\lib\core\essb-button-helper.php where the # and | characters are replaced
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘BUG – Ampersands in post title break Twitter sharing’ is closed to new replies.