[wp-trac] [WordPress Trac] #60746: Interactivity API - Directives in tags with closing tag that is not visit by the tag processor don't work

WordPress Trac noreply at wordpress.org
Tue Mar 12 18:52:39 UTC 2024


#60746: Interactivity API - Directives in tags with closing tag that is not visit
by the tag processor don't work
--------------------------------------+----------------------
 Reporter:  santosguillamot           |       Owner:  dmsnell
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  6.5
Component:  General                   |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+----------------------
Changes (by dmsnell):

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


Comment:

 In [changeset:"57822" 57822]:
 {{{
 #!CommitTicketReference repository="" revision="57822"
 Interactivity API: Ensure proper directive processing on special elements.

 Adds a test to ensure proper processing of directives on special HTML
 elements,
 or HTML which contains special elements. These special elements are
 defined by
 the HTML API and are the HTML elements which cannot contain other tags,
 such as
 the IFRAME, SCRIPT, TEXTAREA, TITLE, elements, etc...

 The server diretive processor performs a custom tracking of HTML structure
 and
 this test ensures it isn't mislead by the handling of those special
 elements.

 Developed in https://github.com/WordPress/wordpress-develop/pull/6247
 Discussed in https://core.trac.wordpress.org/ticket/60746

 Props santosguillamot, cbravobernal, mukesh27, westonruter, swissspidy,
 dmsnell.
 Follow-up to [57348].
 Fixes #60746.
 }}}

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


More information about the wp-trac mailing list