-
Notifications
You must be signed in to change notification settings - Fork 8
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 the ignore english character function? #4
Comments
Hi @vanabel I have just tested your solution and that indeed seems to work! Before I commit this, can I ask you how well have you tested it? Thanks, |
I just test it for my newest article, which seems work for me. Since it seems an easy solution, I suspect there are some unexpected issue. |
All right. Will you be using the plugin actively for what you're currently doing? For example what does it do to existing slugs? We wouldn't want to start messing up people's permalinks, right ;) If we can establish no side effects during such a testing period, then I am all for switching out the code with your discovery! |
Also it would be nice to know how did you get to replace |
* fix to not ignore alphanumerical characters by [vanabel](https://github.com/vanabel), closes [issue #4](#4)
Committed and released, thank you very much @vanabel |
I do believe that the plugin ignore the character of english is not a good option, which I try to fix it as
Where I modify the second parameter of
preg_replace
from''
to$0
, which means we do not change the character if it is alphabetic. I don't know whether this will cause other issue, But it seems work for me!!The text was updated successfully, but these errors were encountered: