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

Issue on creating hashtags from tags/categories in Greek language. #840

Open
purplecodes opened this issue Mar 24, 2022 · 1 comment
Open

Comments

@purplecodes
Copy link

Issue: When the post tag or category is in Greek language, and the option to Create Hashtags From Tags is selected, it is not displaying properly when the post is shared.
https://vertis.d.pr/pLZZXO

The same issue is happening when choosing the option Create Hashtags From Categories.
If adding a Greek text under the Additional Text area, it is appearing as expected.

@UVLabs
Copy link
Contributor

UVLabs commented Aug 26, 2022

This issue happens because we're using a method to "clean" the hashtags: https://github.com/Codeinwp/tweet-old-post/blob/master/includes/admin/helpers/class-rop-post-format-helper.php#L572

This method seems to be dropping the greek words because they might not exist here: https://github.com/Codeinwp/tweet-old-post/blob/master/includes/admin/helpers/class-rop-post-format-helper.php#L603

I can't remember why this cleaning method was added but it seems to be the cause, if i output the hashtags before the cleaning happens, it shows the greek hashtags in the array of hashtags.

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

No branches or pull requests

2 participants