[wp-trac] [WordPress Trac] #58028: WP_HTML_Tag_Processor: Its reference in the Developer Resources is broken

WordPress Trac noreply at wordpress.org
Thu Mar 30 15:56:01 UTC 2023


#58028: WP_HTML_Tag_Processor: Its reference in the Developer Resources is broken
--------------------------+-----------------------------
 Reporter:  juanmaguitar  |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  6.2
 Severity:  normal        |   Keywords:
  Focuses:  docs          |
--------------------------+-----------------------------
 The `WP_HTML_Tag_Processor` reference in the Developer Resources is
 broken.

 See:
 - https://developer.wordpress.org/reference/classes/wp_html_tag_processor/
 -
 https://developer.wordpress.org/reference/classes/wp_html_tag_processor/get_attribute/
 -
 https://developer.wordpress.org/reference/classes/wp_html_tag_processor/is_tag_closer/
 -
 https://developer.wordpress.org/reference/classes/wp_html_tag_processor/get_tag/

 And there could be more

 These docs seem to be produced from the PHPDoc comments in the relevant
 files. Some of these comments apparently are not properly processed by
 whatever tools are being used to generate the online reference docs from
 them.


 The issue seems to be that somehow fails to close the example, and the
 following text ends up being part of it.

 Those pages are generated from PHPDocs, so it’s either **some unsupported
 syntax used** or **the tool that converts comments to that page has
 bugs**.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58028>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list