[wp-trac] [WordPress Trac] #57329: Cannot save new custom template when name contains none-Latin characters

WordPress Trac noreply at wordpress.org
Tue Feb 7 23:45:33 UTC 2023


#57329: Cannot save new custom template when name contains none-Latin characters
-------------------------------------+-------------------------------------
 Reporter:  mburridge                |       Owner:  danielbachhuber
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  6.2
Component:  REST API                 |     Version:  6.1.1
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch has-unit-      |     Focuses:  javascript,
  tests                              |  administration, rest-api
-------------------------------------+-------------------------------------
Changes (by danielbachhuber):

 * owner:  (none) => danielbachhuber
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"55294" 55294]:
 {{{
 #!CommitTicketReference repository="" revision="55294"
 REST API: Support non-Latin characters in template route regex.

 Non-Latin characters are URL-encoded (e.g. `%cf%84%ce%b5%cf%83%cf%84`).
 Matching `%` in the route ensures templates with non-Latin titles can be
 properly saved.

 Props antonyagrios, mburridge.
 Fixes #57329.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57329#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list