[wp-trac] [WordPress Trac] #50924: Do not use ZWNJ and ZWJ in post name (slug and url)
WordPress Trac
noreply at wordpress.org
Wed Aug 12 08:22:58 UTC 2020
#50924: Do not use ZWNJ and ZWJ in post name (slug and url)
-----------------------------------+-----------------------------
Reporter: behzadian | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Charset | Version:
Severity: normal | Resolution:
Keywords: 2nd-opinion has-patch | Focuses:
-----------------------------------+-----------------------------
Changes (by johnbillion):
* type: feature request => enhancement
* version: 5.5 =>
* component: I18N => Charset
* milestone: Awaiting Review => Future Release
Comment:
Welcome @behzadian. Thanks for the ticket and the PR!
This would be better done by using the hexadecimal representation of the
Unicode codepoint instead of the actual character in each array key, so
it's visible to readers of the code.
I think these are correct but I've not done any testing at all:
* `"\xe2\x80\x8c"`
* `"\xe2\x80\x8d"`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50924#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list