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

Can't save and delete when using custom template for post with multibyte in site editor #45718

Closed
s56bouya opened this issue Nov 11, 2022 · 4 comments
Labels
[Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") Needs Testing Needs further testing to be confirmed. [Status] Stale Gives the original author opportunity to update before closing. Can be reopened as needed. [Type] Bug An existing feature does not function as intended

Comments

@s56bouya
Copy link

Description

When a post containing multibyte characters is selected as a template, it cannot save and delete.

At a later date, I changed the slug thinking multibyte characters were affecting it, but now the template is not found and can't be edited. Still can't delete.

Step-by-step reproduction instructions

  1. Dashboard->Appearance->Editor
  2. Editor->Templates->Add New->Single item: Post->Post For a specific item
  3. Select posts with multi-byte characters (e.g. https://abc.com/アイスクリーム)

Screenshots, screen recording, code snippet

screenshot01

Environment info

  • WP 6.1
  • Twenty Twenty-Three

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@Mamaduka Mamaduka added [Type] Bug An existing feature does not function as intended [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") labels Nov 11, 2022
@Mamaduka
Copy link
Member

Related #45633.

The templates REST API only supports Latin characters for template slugs.

@github-actions
Copy link

Hi,
This issue has gone 180 days without any activity. This means it is time for a check-in to make sure it is still relevant. If you are still experiencing this issue with the latest versions, you can help the project by responding to confirm the problem and by providing any updated reproduction steps.
Thanks for helping out.

@github-actions github-actions bot added the Needs Testing Needs further testing to be confirmed. label May 11, 2023
@github-actions
Copy link

Hi,
This issue has gone 30 days without any activity. This means it is time for a check-in to make sure it is still relevant. If you are still experiencing this issue with the latest versions, you can help the project by responding to confirm the problem and by providing any updated reproduction steps.
Thanks for helping out.

@github-actions github-actions bot added the [Status] Stale Gives the original author opportunity to update before closing. Can be reopened as needed. label Jun 11, 2023
@jordesign
Copy link
Contributor

Closing this issue - as the underlying cause was fixed in WordPress 6.2
https://core.trac.wordpress.org/ticket/57329

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") Needs Testing Needs further testing to be confirmed. [Status] Stale Gives the original author opportunity to update before closing. Can be reopened as needed. [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

3 participants