[wp-trac] [WordPress Trac] #61185: Interactivity API: Move directive processing to `WP_Block` class

WordPress Trac noreply at wordpress.org
Fri May 10 08:39:50 UTC 2024


#61185: Interactivity API: Move directive processing to `WP_Block` class
-------------------------------+-----------------------
 Reporter:  gziolo             |      Owner:  (none)
     Type:  enhancement        |     Status:  new
 Priority:  normal             |  Milestone:  6.6
Component:  Interactivity API  |    Version:  6.5
 Severity:  normal             |   Keywords:  has-patch
  Focuses:                     |
-------------------------------+-----------------------
 The way directive processing got integrated into WordPress Core was
 largely influenced by the implementation present in the Gutenberg plugin.
 We don't need to use WP hooks, but instead it's possible to directly
 integrate the processing into the `WP_Block` class. It removes the
 overhead of running additional hooks on parsed blocks and simplifies the
 way we detect whether the directive processing should run on an
 interactive region of the produced final HTML for the blocks.

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


More information about the wp-trac mailing list