[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
Mon Mar 11 12:01:33 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:  (none)
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  General          |    Version:
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 Right now, if I add directives to tags with closing tag that is not
 visited by the tag processor, it breaks the whole server-side rendering
 processing.

 This is the list of those tags: https://github.com/WordPress/wordpress-
 develop/blob/186eeafb6888431fdf445b2abf2036f0606edcd5/src/wp-includes
 /interactivity-api/class-wp-interactivity-api-directives-
 processor.php#L25-L34

 For example, if I try to add a directive to an iframe, it breaks the
 processing.

 Co-authored by @cbravobernal

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


More information about the wp-trac mailing list