[wp-meta] [Making WordPress.org] #5973: Table of Contents contains too much

Making WordPress.org noreply at wordpress.org
Mon Dec 6 03:21:34 UTC 2021

#5973: Table of Contents contains too much
 Reporter:  joyously         |       Owner:  dd32
     Type:  defect           |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  Developer Hub    |  Resolution:  fixed
 Keywords:  has-screenshots  |
Changes (by dd32):

 * owner:  (none) => dd32
 * status:  new => closed
 * resolution:   => fixed


 In [changeset:"11354" 11354]:
 #!CommitTicketReference repository="" revision="11354"
 Handbooks, ToC: Be less greedy when matching headings within the content.

 [11341] didn't change the greedyness, but as it was now matching headings
 with attributes, it was matching too much on reference pages.

 Additionally, we now don't use style-only headings (those without text) as
 valid sections.

 See #5963.
 Fixes #5973.

Ticket URL: <https://meta.trac.wordpress.org/ticket/5973#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org

More information about the wp-meta mailing list