Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 23 months ago

#57328 closed defect (bug) (duplicate)

Cannot save new custom template when name contains none-Latin characters

Reported by: mburridge's profile mburridge Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.1.1
Component: Editor Keywords:
Focuses: javascript, administration, rest-api Cc:

Description

When you try to save a new custom template where the template name contains one or more non-latin characters you get an error. The error appears to be related to the REST endpoint.

See GitHub issue #41214.

Too reproduce:

  1. Select: Appearance -> Editor in the WP Admin
  2. Click the WordPress logo in top left, and select Templates
  3. Click Add New button (top right)
  4. Select Custom template and give it a name with at least one non-latin character
  5. Save the new template
  6. Confirm that you see the error in the editor and in the console.

Change History (2)

#1 @mburridge
2 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #57329.

#2 @desrosj
23 months ago

  • Component changed from General to Editor
  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.