[wp-meta] [Making WordPress.org] #4406: Avoid duplicate anchors when generating table of contents in the Handbook

Making WordPress.org noreply at wordpress.org
Thu May 30 22:11:36 UTC 2019


#4406: Avoid duplicate anchors when generating table of contents in the Handbook
-----------------------------+--------------------------
 Reporter:  garrett-eclipse  |       Owner:  coffee2code
     Type:  defect           |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  Handbooks        |  Resolution:  fixed
 Keywords:                   |
-----------------------------+--------------------------
Changes (by coffee2code):

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


Comment:

 In [changeset:"8899" 8899]:
 {{{
 #!CommitTicketReference repository="" revision="8899"
 Handbook plugin: Prevent duplicate anchors when generating table of
 contents links from heading tags.

 Previously, if text for a heading was used more than once in the page, the
 same anchor would be created for each heading, making the second (and
 subsequent) duplicates untargetable and the toc links would all point to
 the first instance.

 Fixes #4406.
 }}}

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


More information about the wp-meta mailing list