Skip to content

Sanitize apostrophe characters in post slug#5541

Open
IvanZhuck wants to merge 1 commit intoWordPress:trunkfrom
IvanZhuck:trac-59691
Open

Sanitize apostrophe characters in post slug#5541
IvanZhuck wants to merge 1 commit intoWordPress:trunkfrom
IvanZhuck:trac-59691

Conversation

@IvanZhuck
Copy link
Copy Markdown

Added apostrophe character codes to the list of symbols which must be stripped from post URL slug

It replaces characters:

ʼ (U+02BC);
ˮ (U+02EE);
՚ (U+055A);
ߴ (U+07F5);
ߵ (U+07F4);
(U+FF07)

with empty string.

Trac ticket: https://core.trac.wordpress.org/ticket/59691

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant