[wp-trac] [WordPress Trac] #47912: Non-visible chars in title creates some encoded values in permalink

WordPress Trac noreply at wordpress.org
Wed Aug 21 14:49:21 UTC 2019


#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.3
Component:  Permalinks    |     Version:  5.2.2
 Severity:  major         |  Resolution:
 Keywords:                |     Focuses:  ui, rtl, administration
--------------------------+--------------------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => accepted
 * milestone:  Awaiting Review => 5.3


Comment:

 Hi @dhanendran, welcome to WordPress Trac! Thanks for the report.

 `sanitize_title()` indeed does not remove this kind of characters, but
 [source:tags/5.2.2/src/wp-includes/formatting.php#L2224
 sanitize_title_with_dashes()] does.

 Looks like we need to add some more characters there.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47912#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list