simonfrey / mastodon_wordpress_autopost

A Wordpress Plugin that automatically posts your new articles to Mastodon
https://wordpress.org/plugins/autopost-to-mastodon/
GNU General Public License v2.0
33 stars 20 forks source link

Tag weirdness #30

Closed edent closed 5 years ago

edent commented 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');

simonfrey commented 5 years ago

That was it. Closed with 3.2.5.

Please check and close if it works again for you.

edent commented 5 years ago

Perfect!