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

Making WordPress.org noreply at wordpress.org
Tue May 4 04:25:41 UTC 2021


#5711: Anchor id not sanitized
----------------------------+---------------------
 Reporter:  sebastienserre  |       Owner:  dd32
     Type:  defect          |      Status:  closed
 Priority:  normal          |   Milestone:
Component:  Handbooks       |  Resolution:  fixed
 Keywords:  needs-patch     |
----------------------------+---------------------
Changes (by dd32):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"10945" 10945]:
 {{{
 #!CommitTicketReference repository="" revision="10945"
 Handbooks/HelpHub: Replace accented characters before converting a title
 into a slug for use as page anchors. Take Two.

 This time use `sanitize_title()` so that `sanitize_title_with_dashes()`
 gets called with `save` context rather than `display` which properly
 strips any remaining entities.

 Follow up to [10920].
 Fixes #5711.
 }}}

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


More information about the wp-meta mailing list