Category Hashtags break "Add hashtags as native tags" functionality.
Quick summary
When adding [ap_hashcats] shortcode to Note Post Content, both Categories and regular Tags are no longer federated as native tags.
They are still available as regular #-tags in the note itself.
This has been an ongoing issue, and not new to 6.0.0.
Steps to reproduce
Initial Bug
- Configure ActivityPub plugin to include
[ap_hashcats]and[ap_hashtags]shortcodes in Note Post Content - Ensure "Add hashtags in the content as native tags and replace the #tag with the tag link." setting is enables
- Create a new test post with filler text and title
- Add any number of WP Categories and Tags to this post
- Save Draft
- Select "Fediverse preview ⁂" from View menu
- Both Categories and Tags are shown in #-tag format, but only the Tags are shown as Native Tags
- Publish
- Check Federated post on external site (I used mastodon.social)
- Categories and Tags are shown in #-tag format, with no Native Tags.
Returning to expected behaviour
- Change ActivityPub plugin settings to remove
[ap_hashcats]shortcode, leaving[ap_hashtags]untouched. - Edit the test post
- Save Draft
- Select "Fediverse preview ⁂" from View menu
- Only the Tags are shown, both in #-tag format, and as Native Tags
- Re-Publish
- Check updated Federated post on external site
- Tags are shown as Native Tags
Site owner impact
Between 20% and 60% of the total website/platform users
Severity
Moderate
What other impact(s) does this issue have?
No response
If a workaround is available, please outline it here.
Remove [ap_hashcats] shortcode from Note Post Content.
- This is not ideal if site requires Category Tags to prevent taxonomy duplication
Thanks for the report! I think the best way is to remove the hashcat feature completely, because it is hard to impossible to have them as "Native Tags". The possibility to have a collition between cats and tags is too big.
I have to jump in here, because removing the ap_hashcats is not an option. I want to use both my WP-tags and WP-categories to get translated as fediverse tags.
I don't get the point of "collision detection"? When I as a user have a tag and a category with the same name/label, then it is my fault if the fediverse hashtag gets added two times. I think, this is nothing the plugin has to deal with.
I use tags and categories for different thungs, but I still want BOTH to get federated to the fediverse. What can I do now @pfefferle?