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

PrettyURLs: Empty title when no latin character is present #91

Closed
azett opened this issue Nov 1, 2021 · 2 comments
Closed

PrettyURLs: Empty title when no latin character is present #91

azett opened this issue Nov 1, 2021 · 2 comments
Labels

Comments

@azett
Copy link
Member

azett commented Nov 1, 2021

Reported by blog7 on the support forum:
If an entry's title consists of only non-latin characters (such as "Титул" for "Title"), they will be completely stripped, leading to a permalink without title like example.org/index.php/2020/06/01//. This then leads to the overpage of all entries of that day, not to the single entry itself.

Title sanitation takes place in sanitize_title_with_dashes() (core.wp-formatting.php).

Idea: A plugin that allows for storing a Latin-only alternative title for each entry?

Needs to be inspected!

@azett azett added the i18n label Nov 1, 2021
@azett
Copy link
Member Author

azett commented Sep 10, 2022

Applies for Greek characters as well: https://forum.flatpress.org/viewtopic.php?t=431

azett added a commit that referenced this issue Sep 10, 2022
@azett
Copy link
Member Author

azett commented Sep 10, 2022

Fixed with 5dd42b0

@azett azett closed this as completed Sep 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant