wordpress-develop/tests/qunit/fixtures
Tonya Mork 08b7927ef8 REST API: Add block theme support for valid non-alphanumeric characters in theme's directory name.
Themes whose `wp-content/themes/<dirname>` include valid non-alphanumeric (cross-platform) characters work for non-block themes, but did not previously resolve for block themes. For example, a block theme in `wp-content/themes/twentytwentytwo-0.4.0/` directory resulted a 404 "No route was found matching the URL and request method" response when attempting to customize it in the Site Editor.

This commit adds support for the following characters in a theme's root directory: `_`, `.`, `@`, `[`, `]`, `(`, and `)`. Subdirectory themes and `-` are already supported.

Follow-up to [51003], [52051], [52275].

Props mkaz, costdev, hellofromTonya, jffng, justinahinon, peterwilsoncc, spacedmonkey, TimothyBlynJacobs.
Fixes #54596.

git-svn-id: https://develop.svn.wordpress.org/trunk@52376 602fd350-edb4-49c9-b593-d223f7449a82
2021-12-14 18:22:07 +00:00
..
common.js I18N: Use wp.i18n for translatable strings in wp-admin/js/dashboard.js. 2020-10-14 21:11:09 +00:00
customize-header.js Add PHP and JS unit tests for custom headers. 2014-03-29 10:05:22 +00:00
customize-menus.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
customize-settings.js Customize: Add changeset locking in Customizer to prevent users from overriding each other's changes. 2017-10-12 04:00:15 +00:00
customize-widgets.js Customize: Improve i18n for strings in hidden widget area notices. 2017-03-24 22:02:02 +00:00
js-widgets-endpoint.js REST API: JS client - QUnit tests for custom namespace route discovery. 2017-02-24 18:39:39 +00:00
updates.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00
wp-api-generated.js REST API: Add block theme support for valid non-alphanumeric characters in theme's directory name. 2021-12-14 18:22:07 +00:00
wp-api.js Docs: Improve inline comments per the documentation standards. 2020-01-29 00:43:23 +00:00