[wp-trac] [WordPress Trac] #60392: HTML API: Tag processor no longer visits all closing tags

WordPress Trac noreply at wordpress.org
Wed Jan 31 02:12:48 UTC 2024


#60392: HTML API: Tag processor no longer visits all closing tags
--------------------------+---------------------
 Reporter:  westonruter   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  6.5
Component:  HTML API      |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+---------------------

Comment (by dmsnell):

 thanks @costdev.

 #60170 has been open for four weeks and the underlying work has been open
 since November, and discussion has occurred in #core-html-api in Slack
 since at least then.

 https://github.com/WordPress/wordpress-develop/pull/5683

 The change is partially breaking, because it wasn't possible beforehand to
 read text content from the Tag Processor. The same behavior was embedded
 within the Tag Processor when an HTML document only contained the opening
 TITLE tag; it would not find the opening tag if it couldn't find the
 closing tag.

 The dev notes highlight this as a change. I'll send you a DM with a link
 to the preview.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60392#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list