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

Making WordPress.org noreply at wordpress.org
Wed Apr 21 08:46:45 UTC 2021


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

Comment (by sebastienserre):

 By checking the code,
 https://github.com/WordPress/wordpress.org/blob/1700e58c5b77172dc118670903f7636d592a0a46/wordpress.org/public_html
 /wp-content/plugins/handbook/inc/table-of-contents.php#L95 the id seems to
 be sanitized, so maybe it's a problem with
 https://developer.wordpress.org/reference/functions/sanitize_title_with_dashes/
 ?

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


More information about the wp-meta mailing list