-
Notifications
You must be signed in to change notification settings - Fork 20
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 with foreign languages #61
Comments
@eliyadzz Can you please share a use case to test this code? |
Just set this slug for a post คาสิโนออนไลน์ที่ดีที่สุด and check it |
This addresses issues raised by @eliyadzz samiahmedsiddiqui#61 Co-Authored-By: eliyadzz <87637445+eliyadzz@users.noreply.github.com>
Hi, please deal with this, |
@eliyadzz I have used "คาสิโนออนไลน์ที่ดีที่สุด" in slug and visit "/คาสิโนออนไลน์ที่ดีที่สุด". It works fine for me. I have tested this slug with Custom Permalinks |
If you set a custom permalink in a foreign language there are infinite redirects
please apply this code:
if ( isset( $_SERVER['REQUEST_URI'] ) ) {
// phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
$this->request_uri = urldecode($_SERVER['REQUEST_URI']);
}
In class-custom-permalinks-frontend.php
The text was updated successfully, but these errors were encountered: