- Output for 8.0.1 - 8.0.30, 8.1.0 - 8.1.31, 8.2.0 - 8.2.27, 8.3.0 - 8.3.15, 8.4.1 - 8.4.2
- Current regular expression: /wp/v2/templates/(?P<parent>([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)/revisions Matches "my_theme_name/my_template_id" IDs as expected. Matches "my_template_id" IDs. This is NOT expected. Fixed regular expression: /wp/v2/templates/(?P<parent>([^\/:<>\*\?"\|]+\/\/?[^\/:<>\*\?"\|]+)[\/\w%-]+)/revisions Matches "my_theme_name/my_template_id" IDs as expected. Doesn't match "my_template_id" IDs as expected.