Closed edent closed 5 years ago
As mentioned in #19
I think the problem is in https://github.com/simonfrey/mastodon_wordpress_autopost/blob/master/autopost-to-mastodon/tags/3.2.2/mastodon_autopost.php#L484
$post_tags = html_entity_decode(get_the_tags($post->ID ), ENT_COMPAT, 'UTF-8');
Should be
$post_tags = html_entity_decode(get_the_tags($id), ENT_COMPAT, 'UTF-8');
That was it. Closed with 3.2.5.
Please check and close if it works again for you.
Perfect!
As mentioned in #19
I think the problem is in https://github.com/simonfrey/mastodon_wordpress_autopost/blob/master/autopost-to-mastodon/tags/3.2.2/mastodon_autopost.php#L484
$post_tags = html_entity_decode(get_the_tags($post->ID ), ENT_COMPAT, 'UTF-8');
Should be
$post_tags = html_entity_decode(get_the_tags($id), ENT_COMPAT, 'UTF-8');