[wp-trac] [WordPress Trac] #65008: Block Hooks / RTC: Auto-inserted blocks duplicated on page refresh or collaborator join
WordPress Trac
noreply at wordpress.org
Wed Apr 8 12:43:05 UTC 2026
#65008: Block Hooks / RTC: Auto-inserted blocks duplicated on page refresh or
collaborator join
------------------------------------+------------------------------
Reporter: Bernhard Reiter | Owner: Bernhard Reiter
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 7.0
Component: Editor | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch dev-reviewed | Focuses:
------------------------------------+------------------------------
Changes (by jonsurrell):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"62220" 62220]:
{{{
#!CommitTicketReference repository="" revision="62220"
Block Hooks: Set ignored blocks meta in REST API response.
Set `_wp_ignored_hooked_blocks` post meta in the REST API response sent
from post-like endpoints that support Block Hooks (see
`rest_block_hooks_post_types` filter).
Previously, it was enough to set that post meta on write (i.e. save to
DB). However, due to the way real-time collaboration syncs posts and
reconciles them with content received from the server side, this
information is now vital on the client side to ensure hooked blocks aren't
duplicated.
Developed in https://github.com/WordPress/wordpress-develop/pull/11410.
Reviewed by jonsurrell.
Merges [62219] to the 7.0 branch.
Props bernhard-reiter, czarate, ingeniumed.
Fixes #65008.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65008#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list