Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Importing tags from the Fediverse #1234

Merged
merged 5 commits into from
Jan 29, 2025
Merged

Conversation

pfefferle
Copy link
Member

This PR adds a check, so that only supported posts will be parsed for tags. This will prevent, that followers and other custom post types will be parsed for Hashtags.

Fixes #1167

Fix #1167

This PR adds a check, so that only supported posts will be parsed for tags. This will prevent, that followers and other custom post types will be parsed for Hashtags.
@pfefferle pfefferle requested a review from obenland January 29, 2025 14:17
@obenland
Copy link
Member

Can you help me understand how follower's tags get into a post's tags list?

@pfefferle
Copy link
Member Author

@obenland we parse the post content/excerpt for hashtags and add them as WordPress tags and because followers will be saved as a custom post type, their content/excerpt will be also parsed. Guess where we store the profile description!?! ;)

obenland
obenland previously approved these changes Jan 29, 2025
@pfefferle pfefferle merged commit 39dfabc into trunk Jan 29, 2025
11 checks passed
@pfefferle pfefferle deleted the fix/random-tag-creation branch January 29, 2025 15:09
@pfefferle pfefferle restored the fix/random-tag-creation branch January 29, 2025 15:54
@pfefferle pfefferle deleted the fix/random-tag-creation branch January 29, 2025 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WP blog picks up tags from around the fediverse
2 participants