[wp-meta] [Making WordPress.org] #5711: Anchor id not sanitized

Making WordPress.org noreply at wordpress.org
Wed Apr 21 08:31:10 UTC 2021


#5711: Anchor id not sanitized
----------------------------+-------------------------
 Reporter:  sebastienserre  |      Owner:  (none)
     Type:  defect          |     Status:  new
 Priority:  normal          |  Milestone:
Component:  Handbooks       |   Keywords:  needs-patch
----------------------------+-------------------------
 Hello,

 We have a problem in the French documentation team with the `id` in the
 doc title.
 As you may know, in French we have specials characters which need to be
 sanitized before being used in an URL.

 Example:
 the page https://fr.wordpress.org/support/article/faq-
 troubleshooting/#indésirablesspams will produce the really ugly
 https://fr.wordpress.org/support/article/faq-
 troubleshooting/#ind%c3%a9sirablesspams

 It should be great if the `id` used to create the HTML anchor should be
 sanitized thanks to `sanitize_title()`.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/5711>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list