[wp-trac] [WordPress Trac] #47912: Non-visible chars in title creates some encoded values in permalink
WordPress Trac
noreply at wordpress.org
Thu Feb 18 03:23:01 UTC 2021
#47912: Non-visible chars in title creates some encoded values in permalink
-------------------------------------+-------------------------------------
Reporter: dhanendran | Owner: SergeyBiryukov
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 5.7
Component: Permalinks | Version: 5.2.2
Severity: major | Resolution:
Keywords: has-patch has-unit- | Focuses: ui, rtl,
tests needs-testing needs-refresh | administration
-------------------------------------+-------------------------------------
Changes (by peterwilsoncc):
* keywords: has-patch has-unit-tests needs-testing => has-patch has-unit-
tests needs-testing needs-refresh
Comment:
Adding needs-refresh per the comment above.
For characters that display without a width, that is no apparent content
in to the viewer, then the current block they've been added to (`// Strip
these characters entirely.`) is correct.
For characters that display with a width, that is apparently a space to
the viewer, then the better approach would to be to replace them with a
hyhpen as 2poena says.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47912#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list