[wp-trac] [WordPress Trac] #61078: Block Hooks: Consider introducing a dedicated endpoint

WordPress Trac noreply at wordpress.org
Thu Apr 25 15:36:49 UTC 2024


#61078: Block Hooks: Consider introducing a dedicated endpoint
-----------------------------+-----------------------------
 Reporter:  Bernhard Reiter  |       Owner:  (none)
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Future Release
Component:  General          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+-----------------------------

Comment (by Bernhard Reiter):

 A dedicated endpoint would allow us to:

 - Remove `ignoredHookedBlocks` injection on DB write (since we could
 instead inject the attribute into any newly added blocks in the editor)
 (introduced in #60506, further refined in #60671 and #60754).
 - Avoid storing the relative position in `ignoredHookedBlocks in order to
 fix toggle insertion (#60756).

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


More information about the wp-trac mailing list