Make WordPress Core


Ignore:
Timestamp:
02/07/2023 11:45:18 PM (10 months ago)
Author:
danielbachhuber
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/theme/themeDir.php

    r55133 r55294  
    182182            'Block Theme Child Theme With Fluid Typography',
    183183            'Block Theme Child Theme With Fluid Typography Config',
     184            'Block Theme Non Latin',
    184185            'Block Theme [0.4.0]',
    185186            'Block Theme [1.0.0] in subdirectory',
Note: See TracChangeset for help on using the changeset viewer.