Skip to content

Creating CPT does not respect locale specific replacements #918

@Zodiac1978

Description

@Zodiac1978

If I want to create a new CPT my typing will be corrected instantly. For example: capital letters are corrected to lower case letters. Special characters are corrected to an underscore "_".

Unfortunately these corrections do not contain locale specific replacements, for example for the German language as seen in WordPress core:

https://github.com/WordPress/WordPress/blob/a39daee51f4ce334c1d597f82f05783f7b20b50c/wp-includes/formatting.php#L1952-L1958

For example: ü=>ue, ä=>ae, ß=>ss, etc.

This function remove_accents contains some more replacements than just for the German language. It would be great if these locale specific replacements would be used in CPT UI too.

Thanks for considering!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions